pub struct Key {Show 14 fields
pub id: String,
pub scheme: KeyScheme,
pub curve: KeyCurve,
pub public_key: String,
pub master_key: Option<bool>,
pub derived_from: Option<Value>,
pub name: Option<String>,
pub status: String,
pub custodial: bool,
pub date_created: String,
pub imported: Option<bool>,
pub exported: Option<bool>,
pub date_exported: Option<String>,
pub date_deleted: Option<String>,
}Fields§
§id: String§scheme: KeyScheme§curve: KeyCurve§public_key: String§master_key: Option<bool>§derived_from: Option<Value>§name: Option<String>§status: String§custodial: bool§date_created: String§imported: Option<bool>§exported: Option<bool>§date_exported: Option<String>§date_deleted: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Key
impl<'de> Deserialize<'de> for Key
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
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnsafeUnpin for Key
impl UnwindSafe for Key
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