pub struct LiveEvent {Show 16 fields
pub type: LiveEventType,
pub timestamp: Option<i64>,
pub ts: Option<i64>,
pub broadcast_id: Option<String>,
pub user_id: Option<String>,
pub badges: Option<Vec<CommentUserBadgeInfo>>,
pub notification: Option<Box<UserNotification>>,
pub vote: Option<Box<PubSubVote>>,
pub comment: Option<Box<PubSubComment>>,
pub feed_post: Option<Box<FeedPost>>,
pub extra_info: Option<Box<LiveEventExtraInfo>>,
pub config: Option<Value>,
pub is_closed: Option<bool>,
pub uj: Option<Vec<String>>,
pub ul: Option<Vec<String>>,
pub changes: Option<HashMap<String, i32>>,
}Fields§
§type: LiveEventType§timestamp: Option<i64>§ts: Option<i64>§broadcast_id: Option<String>§user_id: Option<String>§badges: Option<Vec<CommentUserBadgeInfo>>§notification: Option<Box<UserNotification>>§vote: Option<Box<PubSubVote>>§comment: Option<Box<PubSubComment>>§feed_post: Option<Box<FeedPost>>§extra_info: Option<Box<LiveEventExtraInfo>>§config: Option<Value>§is_closed: Option<bool>§uj: Option<Vec<String>>§ul: Option<Vec<String>>§changes: Option<HashMap<String, i32>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LiveEvent
impl<'de> Deserialize<'de> for LiveEvent
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
impl StructuralPartialEq for LiveEvent
Auto Trait Implementations§
impl Freeze for LiveEvent
impl RefUnwindSafe for LiveEvent
impl Send for LiveEvent
impl Sync for LiveEvent
impl Unpin for LiveEvent
impl UnwindSafe for LiveEvent
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