Struct amazon_sp_notifications::models::destination::Destination
source · [−]pub struct Destination {
pub name: String,
pub destination_id: String,
pub resource: Box<DestinationResource>,
}Expand description
Destination : Represents a destination created when you call the createDestination operation.
Fields
name: StringThe developer-defined name for this destination.
destination_id: StringThe destination identifier generated when you created the destination.
resource: Box<DestinationResource>Implementations
sourceimpl Destination
impl Destination
sourcepub fn new(
name: String,
destination_id: String,
resource: DestinationResource
) -> Destination
pub fn new(
name: String,
destination_id: String,
resource: DestinationResource
) -> Destination
Represents a destination created when you call the createDestination operation.
Trait Implementations
sourceimpl Clone for Destination
impl Clone for Destination
sourcefn clone(&self) -> Destination
fn clone(&self) -> Destination
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Destination
impl Debug for Destination
sourceimpl Default for Destination
impl Default for Destination
sourcefn default() -> Destination
fn default() -> Destination
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Destination
impl<'de> Deserialize<'de> for Destination
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Destination> for Destination
impl PartialEq<Destination> for Destination
sourcefn eq(&self, other: &Destination) -> bool
fn eq(&self, other: &Destination) -> bool
sourceimpl Serialize for Destination
impl Serialize for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnwindSafe for Destination
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more