pub struct SessionVersion(/* private fields */);Expand description
Account-wide generation; revocation must fail on overflow rather than reuse a version.
Implementations§
Trait Implementations§
Source§impl Clone for SessionVersion
impl Clone for SessionVersion
Source§fn clone(&self) -> SessionVersion
fn clone(&self) -> SessionVersion
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionVersion
impl Debug for SessionVersion
Source§impl<'de> Deserialize<'de> for SessionVersion
impl<'de> Deserialize<'de> for SessionVersion
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 Hash for SessionVersion
impl Hash for SessionVersion
Source§impl PartialEq for SessionVersion
impl PartialEq for SessionVersion
Source§impl Serialize for SessionVersion
impl Serialize for SessionVersion
impl Copy for SessionVersion
impl Eq for SessionVersion
impl StructuralPartialEq for SessionVersion
Auto Trait Implementations§
impl Freeze for SessionVersion
impl RefUnwindSafe for SessionVersion
impl Send for SessionVersion
impl Sync for SessionVersion
impl Unpin for SessionVersion
impl UnsafeUnpin for SessionVersion
impl UnwindSafe for SessionVersion
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