pub struct EventSubscription {
pub id: String,
pub app_id: String,
pub broadcaster_user_id: u64,
pub event: String,
pub version: u32,
pub method: String,
pub created_at: String,
pub updated_at: String,
}Expand description
An active event subscription
Fields§
§id: StringUnique subscription identifier
app_id: StringThe app that created this subscription
broadcaster_user_id: u64The broadcaster this subscription is for
event: StringEvent type name (e.g., “chat.message.created”)
version: u32Event version
method: StringDelivery method (e.g., “webhook”)
created_at: StringWhen the subscription was created (ISO 8601)
updated_at: StringWhen the subscription was last updated (ISO 8601)
Trait Implementations§
Source§impl Clone for EventSubscription
impl Clone for EventSubscription
Source§fn clone(&self) -> EventSubscription
fn clone(&self) -> EventSubscription
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 Debug for EventSubscription
impl Debug for EventSubscription
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