pub struct Destination {
pub name: String,
pub destination_id: String,
pub resource: Box<DestinationResource>,
}Expand description
Destination : Information about the 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§
Source§impl 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
Information about the destination created when you call the createDestination operation.
Trait Implementations§
Source§impl Clone for Destination
impl Clone for Destination
Source§fn clone(&self) -> Destination
fn clone(&self) -> Destination
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Destination
impl Debug for Destination
Source§impl Default for Destination
impl Default for Destination
Source§fn default() -> Destination
fn default() -> Destination
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Destination
impl<'de> Deserialize<'de> for Destination
Source§fn 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
Source§impl PartialEq for Destination
impl PartialEq for Destination
Source§impl Serialize for Destination
impl Serialize for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Freeze for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnwindSafe for Destination
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more