Struct tink_core::primitiveset::TypedEntry [−][src]
pub struct TypedEntry<P: From<Primitive>> {
pub key_id: KeyId,
pub primitive: P,
pub prefix: Vec<u8>,
pub prefix_type: OutputPrefixType,
pub status: KeyStatusType,
}
Expand description
TypedEntry
represents a single entry in a keyset for primitives of a known type. In addition
to the actual primitive, it holds the identifier and status of the primitive.
Fields
key_id: KeyId
primitive: P
prefix: Vec<u8>
prefix_type: OutputPrefixType
status: KeyStatusType
Trait Implementations
Auto Trait Implementations
impl<P> RefUnwindSafe for TypedEntry<P> where
P: RefUnwindSafe,
impl<P> Send for TypedEntry<P> where
P: Send,
impl<P> Sync for TypedEntry<P> where
P: Sync,
impl<P> Unpin for TypedEntry<P> where
P: Unpin,
impl<P> UnwindSafe for TypedEntry<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more