pub struct VouchState {
pub at: u64,
pub note: String,
}Expand description
One standing vouch, as the fold sees it after replaying
OpKind::Vouch (D65).
Fields§
§at: u64Log sequence of the op that placed this edge.
Sequenced ops rather than elapsed time, exactly as
KeyBinding::bound_at is. Unlike bound_at it does move:
withdrawing and vouching again writes a new position, because
that is a second statement and not a correction of the first.
note: StringWhat the voucher said. May be empty.
Trait Implementations§
Source§impl Clone for VouchState
impl Clone for VouchState
Source§fn clone(&self) -> VouchState
fn clone(&self) -> VouchState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VouchState
impl Debug for VouchState
Source§impl<'de> Deserialize<'de> for VouchState
impl<'de> Deserialize<'de> for VouchState
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
Source§impl PartialEq for VouchState
impl PartialEq for VouchState
Source§fn eq(&self, other: &VouchState) -> bool
fn eq(&self, other: &VouchState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VouchState
impl Serialize for VouchState
impl Eq for VouchState
impl StructuralPartialEq for VouchState
Auto Trait Implementations§
impl Freeze for VouchState
impl RefUnwindSafe for VouchState
impl Send for VouchState
impl Sync for VouchState
impl Unpin for VouchState
impl UnsafeUnpin for VouchState
impl UnwindSafe for VouchState
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