pub enum MainStreamEvent {
Show 32 variants
ClientSettingUpdated {
key: String,
value: Value,
},
ReceiveFollowRequest(User),
Notification(Notification),
MeUpdated(User),
MessagingMessage(MessagingMessage),
ReadAllNotifications,
ReadAllUnreadMentions,
ReadAllAntennas,
ReadAllUnreadSpecifiedNotes,
ReadAllMessagingMessages,
ReadAllAnnouncements,
ReadAllChannels,
MyTokenRegenerated,
ReversiNoInvites,
ReversiInvited {},
PageEvent {},
Signin(Signin),
Unfollow(User),
Follow(User),
Followed(User),
Reply(Note),
Mention(Note),
Renote(Note),
ReadAntenna(Antenna),
UnreadMention(Id<Note>),
UnreadChannel(Id<Note>),
UnreadSpecifiedNote(Id<Note>),
UnreadMessagingMessage(MessagingMessage),
UnreadNotification(Notification),
UnreadAntenna(Antenna),
DriveFileCreated(DriveFile),
UrlUploadFinished {
marker: Option<String>,
file: DriveFile,
},
}Variants§
ClientSettingUpdated
ReceiveFollowRequest(User)
Notification(Notification)
MeUpdated(User)
MessagingMessage(MessagingMessage)
ReadAllNotifications
ReadAllUnreadMentions
ReadAllAntennas
ReadAllUnreadSpecifiedNotes
ReadAllMessagingMessages
ReadAllAnnouncements
ReadAllChannels
Available on crate feature
12-47-0 only.MyTokenRegenerated
ReversiNoInvites
ReversiInvited
TODO: Implement
PageEvent
TODO: Implement
Signin(Signin)
Unfollow(User)
Follow(User)
Followed(User)
Reply(Note)
Mention(Note)
Renote(Note)
ReadAntenna(Antenna)
UnreadMention(Id<Note>)
UnreadChannel(Id<Note>)
Available on crate feature
12-47-0 only.UnreadSpecifiedNote(Id<Note>)
UnreadMessagingMessage(MessagingMessage)
UnreadNotification(Notification)
UnreadAntenna(Antenna)
DriveFileCreated(DriveFile)
UrlUploadFinished
Available on crate feature
12-48-0 only.Trait Implementations§
Source§impl Clone for MainStreamEvent
impl Clone for MainStreamEvent
Source§fn clone(&self) -> MainStreamEvent
fn clone(&self) -> MainStreamEvent
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 MainStreamEvent
impl Debug for MainStreamEvent
Source§impl<'de> Deserialize<'de> for MainStreamEvent
impl<'de> Deserialize<'de> for MainStreamEvent
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 MainStreamEvent
impl RefUnwindSafe for MainStreamEvent
impl Send for MainStreamEvent
impl Sync for MainStreamEvent
impl Unpin for MainStreamEvent
impl UnwindSafe for MainStreamEvent
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