pub struct BoardEntry {
pub id: String,
pub sequence: u64,
pub created_at_ms: i64,
pub author: SwarmMember,
pub text: String,
pub mentioned_recipient_session_ids: Vec<String>,
pub pending_recipient_session_ids: Vec<String>,
}Expand description
One durable swarm board entry.
Fields§
§id: StringStable generated message identifier.
sequence: u64Monotonic sequence within the swarm board.
created_at_ms: i64Time the entry was created, in Unix milliseconds.
Author identity as it existed when the message was posted.
text: StringMessage text.
mentioned_recipient_session_ids: Vec<String>Session identifiers resolved from the entry’s @handle mentions.
pending_recipient_session_ids: Vec<String>Mentioned sessions which have not acknowledged delivery.
Trait Implementations§
Source§impl Clone for BoardEntry
impl Clone for BoardEntry
Source§fn clone(&self) -> BoardEntry
fn clone(&self) -> BoardEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BoardEntry
impl Debug for BoardEntry
Source§impl<'de> Deserialize<'de> for BoardEntry
impl<'de> Deserialize<'de> for BoardEntry
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 Eq for BoardEntry
Source§impl PartialEq for BoardEntry
impl PartialEq for BoardEntry
Source§impl Serialize for BoardEntry
impl Serialize for BoardEntry
impl StructuralPartialEq for BoardEntry
Auto Trait Implementations§
impl Freeze for BoardEntry
impl RefUnwindSafe for BoardEntry
impl Send for BoardEntry
impl Sync for BoardEntry
impl Unpin for BoardEntry
impl UnsafeUnpin for BoardEntry
impl UnwindSafe for BoardEntry
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