pub enum SessionStart {
Dispatched {
by: Option<Who>,
},
Opened {
carry: Carry,
from: Option<Origin>,
},
}Expand description
How a stretch began.
Variants§
Dispatched
Dispatching into the room opened it; no session_opened was
written. by is who dispatched, as that first run_started
records it; None for a line written before the key existed (D40).
Opened
/new: what crossed from the stretch before - Handoff when the
previous stretch’s handoff travelled - and the run line it branched
from, when it is a branch.
Trait Implementations§
Source§impl Clone for SessionStart
impl Clone for SessionStart
Source§impl Debug for SessionStart
impl Debug for SessionStart
Source§impl<'de> Deserialize<'de> for SessionStart
impl<'de> Deserialize<'de> for SessionStart
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 SessionStart
Source§impl PartialEq for SessionStart
impl PartialEq for SessionStart
Source§impl Serialize for SessionStart
impl Serialize for SessionStart
impl StructuralPartialEq for SessionStart
Auto Trait Implementations§
impl Freeze for SessionStart
impl RefUnwindSafe for SessionStart
impl Send for SessionStart
impl Sync for SessionStart
impl Unpin for SessionStart
impl UnsafeUnpin for SessionStart
impl UnwindSafe for SessionStart
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