Struct amazon_sp_notifications::models::destination_resource_specification::DestinationResourceSpecification
source · [−]pub struct DestinationResourceSpecification {
pub sqs: Option<Box<SqsResource>>,
pub event_bridge: Option<Box<EventBridgeResourceSpecification>>,
}Expand description
DestinationResourceSpecification : The information required to create a destination resource. Applications should use one resource type (sqs or eventBridge) per destination.
Fields
sqs: Option<Box<SqsResource>>event_bridge: Option<Box<EventBridgeResourceSpecification>>Implementations
sourceimpl DestinationResourceSpecification
impl DestinationResourceSpecification
sourcepub fn new() -> DestinationResourceSpecification
pub fn new() -> DestinationResourceSpecification
The information required to create a destination resource. Applications should use one resource type (sqs or eventBridge) per destination.
Trait Implementations
sourceimpl Clone for DestinationResourceSpecification
impl Clone for DestinationResourceSpecification
sourcefn clone(&self) -> DestinationResourceSpecification
fn clone(&self) -> DestinationResourceSpecification
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 Default for DestinationResourceSpecification
impl Default for DestinationResourceSpecification
sourcefn default() -> DestinationResourceSpecification
fn default() -> DestinationResourceSpecification
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DestinationResourceSpecification
impl<'de> Deserialize<'de> for DestinationResourceSpecification
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<DestinationResourceSpecification> for DestinationResourceSpecification
impl PartialEq<DestinationResourceSpecification> for DestinationResourceSpecification
sourcefn eq(&self, other: &DestinationResourceSpecification) -> bool
fn eq(&self, other: &DestinationResourceSpecification) -> bool
impl StructuralPartialEq for DestinationResourceSpecification
Auto Trait Implementations
impl RefUnwindSafe for DestinationResourceSpecification
impl Send for DestinationResourceSpecification
impl Sync for DestinationResourceSpecification
impl Unpin for DestinationResourceSpecification
impl UnwindSafe for DestinationResourceSpecification
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