pub struct EventSubscriptionCreate {
pub metadata: String,
pub description: String,
pub sources: Vec<EventSourceReplace>,
pub destination_ids: Vec<String>,
}
Fields§
§metadata: String
Arbitrary customer supplied information intended to be machine readable. Optional, max 4096 chars.
description: String
Arbitrary customer supplied information intended to be human readable. Optional, max 255 chars.
sources: Vec<EventSourceReplace>
Sources containing the types for which this event subscription will trigger
destination_ids: Vec<String>
A list of Event Destination IDs which should be used for this Event Subscription.
Trait Implementations§
Source§impl Clone for EventSubscriptionCreate
impl Clone for EventSubscriptionCreate
Source§fn clone(&self) -> EventSubscriptionCreate
fn clone(&self) -> EventSubscriptionCreate
Returns a copy 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 EventSubscriptionCreate
impl Debug for EventSubscriptionCreate
Source§impl Default for EventSubscriptionCreate
impl Default for EventSubscriptionCreate
Source§fn default() -> EventSubscriptionCreate
fn default() -> EventSubscriptionCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventSubscriptionCreate
impl<'de> Deserialize<'de> for EventSubscriptionCreate
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
Auto Trait Implementations§
impl Freeze for EventSubscriptionCreate
impl RefUnwindSafe for EventSubscriptionCreate
impl Send for EventSubscriptionCreate
impl Sync for EventSubscriptionCreate
impl Unpin for EventSubscriptionCreate
impl UnwindSafe for EventSubscriptionCreate
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