pub struct ValidatorPublicKey(pub Vec<u8>);Tuple Fields§
§0: Vec<u8>Implementations§
Source§impl ValidatorPublicKey
impl ValidatorPublicKey
pub fn new_for_tests(str: &str) -> Self
Trait Implementations§
Source§impl BorshDeserialize for ValidatorPublicKey
impl BorshDeserialize for ValidatorPublicKey
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for ValidatorPublicKey
impl BorshSerialize for ValidatorPublicKey
Source§impl Clone for ValidatorPublicKey
impl Clone for ValidatorPublicKey
Source§fn clone(&self) -> ValidatorPublicKey
fn clone(&self) -> ValidatorPublicKey
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 ValidatorPublicKey
impl Debug for ValidatorPublicKey
Source§impl Default for ValidatorPublicKey
impl Default for ValidatorPublicKey
Source§fn default() -> ValidatorPublicKey
fn default() -> ValidatorPublicKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidatorPublicKey
impl<'de> Deserialize<'de> for ValidatorPublicKey
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 ValidatorPublicKey
impl Display for ValidatorPublicKey
Source§impl From<ValidatorPublicKey> for LaneId
impl From<ValidatorPublicKey> for LaneId
Source§fn from(value: ValidatorPublicKey) -> Self
fn from(value: ValidatorPublicKey) -> Self
Converts to this type from the input type.
Source§impl Hash for ValidatorPublicKey
impl Hash for ValidatorPublicKey
Source§impl Ord for ValidatorPublicKey
impl Ord for ValidatorPublicKey
Source§fn cmp(&self, other: &ValidatorPublicKey) -> Ordering
fn cmp(&self, other: &ValidatorPublicKey) -> Ordering
1.21.0 · 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 ValidatorPublicKey
impl PartialEq for ValidatorPublicKey
Source§impl PartialOrd for ValidatorPublicKey
impl PartialOrd for ValidatorPublicKey
Source§impl PartialSchema for ValidatorPublicKey
Available on crate feature full only.
impl PartialSchema for ValidatorPublicKey
Available on crate feature
full only.Source§impl Serialize for ValidatorPublicKey
impl Serialize for ValidatorPublicKey
Source§impl ToSchema for ValidatorPublicKey
Available on crate feature full only.
impl ToSchema for ValidatorPublicKey
Available on crate feature
full only.impl Eq for ValidatorPublicKey
impl StructuralPartialEq for ValidatorPublicKey
Auto Trait Implementations§
impl Freeze for ValidatorPublicKey
impl RefUnwindSafe for ValidatorPublicKey
impl Send for ValidatorPublicKey
impl Sync for ValidatorPublicKey
impl Unpin for ValidatorPublicKey
impl UnsafeUnpin for ValidatorPublicKey
impl UnwindSafe for ValidatorPublicKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.