pub struct SessionRevision(pub u64);Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for SessionRevision
impl Clone for SessionRevision
Source§fn clone(&self) -> SessionRevision
fn clone(&self) -> SessionRevision
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 moreimpl Copy for SessionRevision
Source§impl Debug for SessionRevision
impl Debug for SessionRevision
Source§impl<'de> Deserialize<'de> for SessionRevision
impl<'de> Deserialize<'de> for SessionRevision
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 SessionRevision
Source§impl Hash for SessionRevision
impl Hash for SessionRevision
Source§impl Ord for SessionRevision
impl Ord for SessionRevision
Source§fn cmp(&self, other: &SessionRevision) -> Ordering
fn cmp(&self, other: &SessionRevision) -> Ordering
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
Source§impl PartialEq for SessionRevision
impl PartialEq for SessionRevision
Source§fn eq(&self, other: &SessionRevision) -> bool
fn eq(&self, other: &SessionRevision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SessionRevision
impl PartialOrd for SessionRevision
Source§impl Serialize for SessionRevision
impl Serialize for SessionRevision
impl StructuralPartialEq for SessionRevision
Auto Trait Implementations§
impl Freeze for SessionRevision
impl RefUnwindSafe for SessionRevision
impl Send for SessionRevision
impl Sync for SessionRevision
impl Unpin for SessionRevision
impl UnsafeUnpin for SessionRevision
impl UnwindSafe for SessionRevision
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