pub struct Site<'a> {
pub run: RunId,
pub seq: Seq,
pub module: &'a str,
}Expand description
The three fields every line carries. Required rather than optional: a line that cannot be placed in the history is a line nobody can act on later.
Fields§
§run: RunId§seq: SeqThe Ledger position at the time. The load-bearing field.
module: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Site<'a>
impl<'a> RefUnwindSafe for Site<'a>
impl<'a> Send for Site<'a>
impl<'a> Sync for Site<'a>
impl<'a> Unpin for Site<'a>
impl<'a> UnsafeUnpin for Site<'a>
impl<'a> UnwindSafe for Site<'a>
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