pub struct SessionLine {
pub began: Seq,
pub start: SessionStart,
pub runs: u64,
pub last: Seq,
pub at: TimeMs,
}Expand description
One stretch of a room, each field read off a line the Ledger files under the room’s address.
Fields§
§began: SeqThe stretch’s first line: its session_opened, or the room’s first
run_started when dispatching opened the room.
start: SessionStart§runs: u64The runs started in this stretch.
last: SeqThe last line of this stretch filed under the room’s address, and
its time: the room’s slice ends there (crates/storage/Spec.lean §8-24).
at: TimeMsTrait Implementations§
Source§impl Clone for SessionLine
impl Clone for SessionLine
Source§impl Debug for SessionLine
impl Debug for SessionLine
Source§impl<'de> Deserialize<'de> for SessionLine
impl<'de> Deserialize<'de> for SessionLine
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 SessionLine
Source§impl PartialEq for SessionLine
impl PartialEq for SessionLine
Source§impl Serialize for SessionLine
impl Serialize for SessionLine
impl StructuralPartialEq for SessionLine
Auto Trait Implementations§
impl Freeze for SessionLine
impl RefUnwindSafe for SessionLine
impl Send for SessionLine
impl Sync for SessionLine
impl Unpin for SessionLine
impl UnsafeUnpin for SessionLine
impl UnwindSafe for SessionLine
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