pub struct CustomKeyId(/* private fields */);Expand description
Custom key ID. This may be a hash of something or it may be a pubkey. It’s entirely dependent on the implementation.
Trait Implementations§
Source§impl BorshDeserialize for CustomKeyId
impl BorshDeserialize for CustomKeyId
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 CustomKeyId
impl BorshSerialize for CustomKeyId
Source§impl Clone for CustomKeyId
impl Clone for CustomKeyId
Source§fn clone(&self) -> CustomKeyId
fn clone(&self) -> CustomKeyId
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 CustomKeyId
impl Debug for CustomKeyId
Source§impl Display for CustomKeyId
impl Display for CustomKeyId
Source§impl PartialEq for CustomKeyId
impl PartialEq for CustomKeyId
impl Copy for CustomKeyId
impl Eq for CustomKeyId
impl StructuralPartialEq for CustomKeyId
Auto Trait Implementations§
impl Freeze for CustomKeyId
impl RefUnwindSafe for CustomKeyId
impl Send for CustomKeyId
impl Sync for CustomKeyId
impl Unpin for CustomKeyId
impl UnwindSafe for CustomKeyId
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