pub struct WalletId(pub u32);Expand description
The stable identifier of a wallet within an engine instance.
Serializes as a bare u32 on the wire.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for WalletId
Source§impl<'de> Deserialize<'de> for WalletId
impl<'de> Deserialize<'de> for WalletId
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 WalletId
Source§impl Ord for WalletId
impl Ord for WalletId
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 WalletId
impl PartialOrd for WalletId
impl StructuralPartialEq for WalletId
Auto Trait Implementations§
impl Freeze for WalletId
impl RefUnwindSafe for WalletId
impl Send for WalletId
impl Sync for WalletId
impl Unpin for WalletId
impl UnsafeUnpin for WalletId
impl UnwindSafe for WalletId
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