pub struct FencingToken(pub u64);Expand description
One lease’s capability token, drawn from a strictly increasing per-account allocation sequence.
The ordering supplies an audit trail; it is not an account-wide validity epoch. A newer token does not invalidate an older active lease. Stores require this token to match the record named by the accompanying lease ID (and account ID for usage ingest; INVARIANTS.md GL-4).
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for FencingToken
impl Clone for FencingToken
impl Copy for FencingToken
Source§impl Debug for FencingToken
impl Debug for FencingToken
Source§impl<'de> Deserialize<'de> for FencingToken
impl<'de> Deserialize<'de> for FencingToken
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 Display for FencingToken
impl Display for FencingToken
impl Eq for FencingToken
Source§impl Hash for FencingToken
impl Hash for FencingToken
Source§impl Ord for FencingToken
impl Ord for FencingToken
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FencingToken
impl PartialEq for FencingToken
Source§impl PartialOrd for FencingToken
impl PartialOrd for FencingToken
Source§impl Serialize for FencingToken
impl Serialize for FencingToken
impl StructuralPartialEq for FencingToken
Auto Trait Implementations§
impl Freeze for FencingToken
impl RefUnwindSafe for FencingToken
impl Send for FencingToken
impl Sync for FencingToken
impl Unpin for FencingToken
impl UnsafeUnpin for FencingToken
impl UnwindSafe for FencingToken
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