pub struct KeyDetails {
pub key: String,
pub total_size: usize,
pub pad_count: usize,
pub confirmed_pads: usize,
pub is_public: bool,
pub public_address: Option<String>,
}
Expand description
Detailed information about a single stored key.
Fields§
§key: String
§total_size: usize
§pad_count: usize
§confirmed_pads: usize
§is_public: bool
§public_address: Option<String>
Trait Implementations§
Source§impl Clone for KeyDetails
impl Clone for KeyDetails
Source§fn clone(&self) -> KeyDetails
fn clone(&self) -> KeyDetails
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 KeyDetails
impl Debug for KeyDetails
Source§impl<'de> Deserialize<'de> for KeyDetails
impl<'de> Deserialize<'de> for KeyDetails
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 PartialEq for KeyDetails
impl PartialEq for KeyDetails
Source§impl Serialize for KeyDetails
impl Serialize for KeyDetails
impl Eq for KeyDetails
impl StructuralPartialEq for KeyDetails
Auto Trait Implementations§
impl Freeze for KeyDetails
impl RefUnwindSafe for KeyDetails
impl Send for KeyDetails
impl Sync for KeyDetails
impl Unpin for KeyDetails
impl UnwindSafe for KeyDetails
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