pub struct ChannelLine {
pub header: String,
pub from: String,
pub sent_at_ms: u64,
pub delivered_at_ms: Option<u64>,
pub text: String,
}Expand description
One line a session received on a channel of its harness’s own: its header
([channel: <room> · from: <who> · at: <time> …]) and words.
Fields§
§header: StringThe line’s header, which names its channel, sender and send time.
from: StringWho sent it, as the header names them.
sent_at_ms: u64When it was sent, in epoch milliseconds.
delivered_at_ms: Option<u64>When it reached the model; None while it waits in the harness’s queue.
text: StringThe line, header included.
Trait Implementations§
Source§impl Clone for ChannelLine
impl Clone for ChannelLine
Source§impl Debug for ChannelLine
impl Debug for ChannelLine
impl Eq for ChannelLine
Source§impl PartialEq for ChannelLine
impl PartialEq for ChannelLine
impl StructuralPartialEq for ChannelLine
Auto Trait Implementations§
impl Freeze for ChannelLine
impl RefUnwindSafe for ChannelLine
impl Send for ChannelLine
impl Sync for ChannelLine
impl Unpin for ChannelLine
impl UnsafeUnpin for ChannelLine
impl UnwindSafe for ChannelLine
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.