pub struct SessionNamed {
pub began: Seq,
pub name: String,
}Expand description
session_named: the name a person gave one session of a room
(crates/kernel/spec/Event/Record.lean D22).
The address stays the session’s identity; the name is what a page
shows. began is the seq that opened the session, the same value
wire::SessionLine.began carries; an empty name takes the name back,
and the last line for a session is the one that holds.
Fields§
§began: Seq§name: StringTrait Implementations§
Source§impl Clone for SessionNamed
impl Clone for SessionNamed
Source§impl Debug for SessionNamed
impl Debug for SessionNamed
Source§impl<'de> Deserialize<'de> for SessionNamed
impl<'de> Deserialize<'de> for SessionNamed
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 SessionNamed
Source§impl PartialEq for SessionNamed
impl PartialEq for SessionNamed
Source§impl Serialize for SessionNamed
impl Serialize for SessionNamed
impl StructuralPartialEq for SessionNamed
Auto Trait Implementations§
impl Freeze for SessionNamed
impl RefUnwindSafe for SessionNamed
impl Send for SessionNamed
impl Sync for SessionNamed
impl Unpin for SessionNamed
impl UnsafeUnpin for SessionNamed
impl UnwindSafe for SessionNamed
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