pub struct EventSourceItem {
pub subscription_id: String,
pub type: String,
}
Expand description
This is needed instead of Item because the parameters are different.
Fields§
§subscription_id: String
The unique identifier for the Event Subscription that this Event Source is attached to.
type: String
Type of event for which an event subscription will trigger
Trait Implementations§
Source§impl Clone for EventSourceItem
impl Clone for EventSourceItem
Source§fn clone(&self) -> EventSourceItem
fn clone(&self) -> EventSourceItem
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 EventSourceItem
impl Debug for EventSourceItem
Source§impl Default for EventSourceItem
impl Default for EventSourceItem
Source§fn default() -> EventSourceItem
fn default() -> EventSourceItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventSourceItem
impl<'de> Deserialize<'de> for EventSourceItem
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 EventSourceItem
impl RefUnwindSafe for EventSourceItem
impl Send for EventSourceItem
impl Sync for EventSourceItem
impl Unpin for EventSourceItem
impl UnwindSafe for EventSourceItem
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