pub struct LongTermKey { /* private fields */ }
Implementations§
Source§impl LongTermKey
impl LongTermKey
pub fn address(&self) -> &Address
pub fn address_type(&self) -> &AddressType
pub fn key_type(&self) -> &LongTermKeyType
pub fn master(&self) -> &bool
pub fn encryption_size(&self) -> &u8
pub fn encryption_diversifier(&self) -> &u16
pub fn random_number(&self) -> &[u8; 8]
pub fn value(&self) -> &[u8; 16]
Trait Implementations§
Source§impl Clone for LongTermKey
impl Clone for LongTermKey
Source§fn clone(&self) -> LongTermKey
fn clone(&self) -> LongTermKey
Returns a copy 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 LongTermKey
impl Debug for LongTermKey
Source§impl Extend<LongTermKey> for LoadLongTermKey
impl Extend<LongTermKey> for LoadLongTermKey
Source§fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC,
)where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = LongTermKey>,
fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC,
)where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = LongTermKey>,
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<LongTermKey> for LoadLongTermKey
impl FromIterator<LongTermKey> for LoadLongTermKey
Source§fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70,
) -> Selfwhere
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = LongTermKey>,
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70,
) -> Selfwhere
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = LongTermKey>,
Creates a value from an iterator. Read more
Source§impl Pack for LongTermKey
impl Pack for LongTermKey
Auto Trait Implementations§
impl Freeze for LongTermKey
impl RefUnwindSafe for LongTermKey
impl Send for LongTermKey
impl Sync for LongTermKey
impl Unpin for LongTermKey
impl UnwindSafe for LongTermKey
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