pub struct ValidatorId(pub u64);Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ValidatorId
impl Clone for ValidatorId
Source§fn clone(&self) -> ValidatorId
fn clone(&self) -> ValidatorId
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 ValidatorId
impl Debug for ValidatorId
Source§impl Default for ValidatorId
impl Default for ValidatorId
Source§fn default() -> ValidatorId
fn default() -> ValidatorId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidatorId
impl<'de> Deserialize<'de> for ValidatorId
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 ValidatorId
impl Display for ValidatorId
Source§impl From<u64> for ValidatorId
impl From<u64> for ValidatorId
Source§impl Hash for ValidatorId
impl Hash for ValidatorId
Source§impl PartialEq for ValidatorId
impl PartialEq for ValidatorId
Source§impl Serialize for ValidatorId
impl Serialize for ValidatorId
impl Copy for ValidatorId
impl Eq for ValidatorId
impl StructuralPartialEq for ValidatorId
Auto Trait Implementations§
impl Freeze for ValidatorId
impl RefUnwindSafe for ValidatorId
impl Send for ValidatorId
impl Sync for ValidatorId
impl Unpin for ValidatorId
impl UnsafeUnpin for ValidatorId
impl UnwindSafe for ValidatorId
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