pub struct EventBridgeResourceSpecification {
pub region: String,
pub account_id: String,
}Expand description
EventBridgeResourceSpecification : The information required to create an Amazon EventBridge destination.
Fields§
§region: StringThe AWS region in which you will be receiving the notifications.
account_id: StringThe identifier for the AWS account that is responsible for charges related to receiving notifications.
Implementations§
Source§impl EventBridgeResourceSpecification
impl EventBridgeResourceSpecification
Sourcepub fn new(
region: String,
account_id: String,
) -> EventBridgeResourceSpecification
pub fn new( region: String, account_id: String, ) -> EventBridgeResourceSpecification
The information required to create an Amazon EventBridge destination.
Trait Implementations§
Source§impl Clone for EventBridgeResourceSpecification
impl Clone for EventBridgeResourceSpecification
Source§fn clone(&self) -> EventBridgeResourceSpecification
fn clone(&self) -> EventBridgeResourceSpecification
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 Default for EventBridgeResourceSpecification
impl Default for EventBridgeResourceSpecification
Source§fn default() -> EventBridgeResourceSpecification
fn default() -> EventBridgeResourceSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventBridgeResourceSpecification
impl<'de> Deserialize<'de> for EventBridgeResourceSpecification
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 EventBridgeResourceSpecification
impl PartialEq for EventBridgeResourceSpecification
Source§fn eq(&self, other: &EventBridgeResourceSpecification) -> bool
fn eq(&self, other: &EventBridgeResourceSpecification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventBridgeResourceSpecification
Auto Trait Implementations§
impl Freeze for EventBridgeResourceSpecification
impl RefUnwindSafe for EventBridgeResourceSpecification
impl Send for EventBridgeResourceSpecification
impl Sync for EventBridgeResourceSpecification
impl Unpin for EventBridgeResourceSpecification
impl UnwindSafe for EventBridgeResourceSpecification
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