pub struct EventSub {
pub id: String,
pub status: String,
pub type: String,
pub version: String,
pub condition: EventSubCondition,
pub created_at: String,
pub transport: EventSubTransport,
pub cost: i64,
}
Fields§
§id: String
§status: String
§type: String
§version: String
§condition: EventSubCondition
§created_at: String
§transport: EventSubTransport
§cost: i64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventSub
impl<'de> Deserialize<'de> for EventSub
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 EventSub
impl RefUnwindSafe for EventSub
impl Send for EventSub
impl Sync for EventSub
impl Unpin for EventSub
impl UnwindSafe for EventSub
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