pub enum FirehoseEvent {
Commit(FirehoseCommit),
Handle {
seq: i64,
did: String,
handle: String,
},
Identity {
seq: i64,
did: String,
},
Tombstone {
seq: i64,
did: String,
},
Info {
name: String,
message: Option<String>,
},
}Expand description
A decoded firehose event from the relay.
Variants§
Commit(FirehoseCommit)
A repository commit containing record operations.
Handle
A handle change event.
Fields
Identity
An identity update event.
Fields
Tombstone
A repository tombstone (account deletion).
Info
Informational message from the relay.
Implementations§
Trait Implementations§
Source§impl Clone for FirehoseEvent
impl Clone for FirehoseEvent
Source§fn clone(&self) -> FirehoseEvent
fn clone(&self) -> FirehoseEvent
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 moreAuto Trait Implementations§
impl Freeze for FirehoseEvent
impl RefUnwindSafe for FirehoseEvent
impl Send for FirehoseEvent
impl Sync for FirehoseEvent
impl Unpin for FirehoseEvent
impl UnsafeUnpin for FirehoseEvent
impl UnwindSafe for FirehoseEvent
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