pub struct SessionTags {
pub city: Address,
pub room: Address,
pub began: Seq,
pub tags: Vec<Tag>,
}Expand description
One session’s tags: the session named by the city, the room and the line its stretch began at, and the tags the person gave it, in lexical order without repeats.
Fields§
§city: AddressThe city, as the handshake’s Welcome::city names it.
room: Address§began: SeqThe first line of the stretch, as SessionLine::began states it.
Implementations§
Source§impl SessionTags
impl SessionTags
Sourcepub fn names(&self, other: &SessionTags) -> bool
pub fn names(&self, other: &SessionTags) -> bool
Whether two entries name the same session.
Trait Implementations§
Source§impl Clone for SessionTags
impl Clone for SessionTags
Source§impl Debug for SessionTags
impl Debug for SessionTags
Source§impl<'de> Deserialize<'de> for SessionTags
impl<'de> Deserialize<'de> for SessionTags
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 SessionTags
Source§impl PartialEq for SessionTags
impl PartialEq for SessionTags
Source§impl Serialize for SessionTags
impl Serialize for SessionTags
impl StructuralPartialEq for SessionTags
Auto Trait Implementations§
impl Freeze for SessionTags
impl RefUnwindSafe for SessionTags
impl Send for SessionTags
impl Sync for SessionTags
impl Unpin for SessionTags
impl UnsafeUnpin for SessionTags
impl UnwindSafe for SessionTags
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