pub struct Seen {
pub v: u8,
pub kind: String,
pub by: String,
pub node: String,
pub ms: i64,
pub ids: Vec<String>,
}Expand description
What a recipient was shown: one line per delivery event (a hook’s, borg inbox’s) listing the ids
of the tells and asks it showed, written by the recipient’s node. It acknowledges them
(window_for) and does nothing else: never shown, never paced, bounded in its own class (bound),
and its kind is no Kind, so it never parses as a Message and no reader that counts messages
(unread counts, the inbox, the feed, borg listen, a 0.5.0 node) counts it.
Fields§
§v: u8Always 2: 0.5.0 knows no seen line.
kind: StringSEEN.
by: StringThe session shown them, or engineer[:<email>] (borg inbox from a terminal).
node: StringIts node: the one field the mesh checks (borg-mesh lines.rs travels).
ms: i64When they were shown. An acknowledgement counts by id whatever its stamp (window_for); the
stamp only bounds the line’s life, as a message’s does.
ids: Vec<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Seen
impl<'de> Deserialize<'de> for Seen
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>,
impl Eq for Seen
impl StructuralPartialEq for Seen
Auto Trait Implementations§
impl Freeze for Seen
impl RefUnwindSafe for Seen
impl Send for Seen
impl Sync for Seen
impl Unpin for Seen
impl UnsafeUnpin for Seen
impl UnwindSafe for Seen
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.