pub struct EventSubscription {
pub id: String,
pub uri: String,
pub created_at: String,
pub metadata: String,
pub description: String,
pub sources: Vec<EventSource>,
pub destinations: Vec<Ref>,
}
Fields§
§id: String
Unique identifier for this Event Subscription.
uri: String
URI of the Event Subscription API resource.
created_at: String
When the Event Subscription was created (RFC 3339 format).
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<EventSource>
Sources containing the types for which this event subscription will trigger
destinations: Vec<Ref>
Destinations to which these events will be sent
Trait Implementations§
Source§impl Clone for EventSubscription
impl Clone for EventSubscription
Source§fn clone(&self) -> EventSubscription
fn clone(&self) -> EventSubscription
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 EventSubscription
impl Debug for EventSubscription
Source§impl Default for EventSubscription
impl Default for EventSubscription
Source§fn default() -> EventSubscription
fn default() -> EventSubscription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventSubscription
impl<'de> Deserialize<'de> for EventSubscription
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 EventSubscription
impl RefUnwindSafe for EventSubscription
impl Send for EventSubscription
impl Sync for EventSubscription
impl Unpin for EventSubscription
impl UnwindSafe for EventSubscription
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