pub struct Info {
pub capabilities: Capability,
pub object_id: Id,
pub length: u16,
pub domains: Domain,
pub object_type: Type,
pub algorithm: Algorithm,
pub sequence: SequenceId,
pub origin: Origin,
pub label: Label,
pub delegated_capabilities: Capability,
}
Expand description
Information about an object
Fields§
§capabilities: Capability
Capabilities (bitfield)
object_id: Id
Object identifier
length: u16
Length of object in bytes
domains: Domain
Domains from which object is accessible
object_type: Type
Object type
algorithm: Algorithm
Algorithm this object is intended to be used with
sequence: SequenceId
Sequence: number of times an object with this key ID and type has previously existed
origin: Origin
How did this object originate? (generated, imported, etc)
label: Label
Label of object
delegated_capabilities: Capability
Delegated Capabilities (bitfield)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
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 RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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