pub struct LongTermKey {
pub key: u128,
pub ediv: u16,
pub rand: u64,
pub key_size: u8,
}Expand description
A long-term key and how to find it again.
Fields§
§key: u128The key.
ediv: u16Encrypted Diversifier (0 for Secure Connections).
rand: u64Random number (0 for Secure Connections).
key_size: u8Key size, octets.
Trait Implementations§
Source§impl Clone for LongTermKey
impl Clone for LongTermKey
impl Copy for LongTermKey
Source§impl Debug for LongTermKey
impl Debug for LongTermKey
Source§impl<'de> Deserialize<'de> for LongTermKey
impl<'de> Deserialize<'de> for LongTermKey
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 LongTermKey
Source§impl PartialEq for LongTermKey
impl PartialEq for LongTermKey
Source§impl Serialize for LongTermKey
impl Serialize for LongTermKey
impl StructuralPartialEq 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 UnsafeUnpin 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