pub struct VaultId(pub u64);Expand description
User-vault identifier.
Assigned by the node at vault creation.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for VaultId
Source§impl<'de> Deserialize<'de> for VaultId
impl<'de> Deserialize<'de> for VaultId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VaultId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VaultId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VaultId
Source§impl Ord for VaultId
impl Ord for VaultId
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 PartialOrd for VaultId
impl PartialOrd for VaultId
Source§impl Serialize for VaultId
impl Serialize for VaultId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for VaultId
Auto Trait Implementations§
impl Freeze for VaultId
impl RefUnwindSafe for VaultId
impl Send for VaultId
impl Sync for VaultId
impl Unpin for VaultId
impl UnsafeUnpin for VaultId
impl UnwindSafe for VaultId
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