pub type AlgorithmIdentifierOwned = AlgorithmIdentifier<Any>;Available on crate feature
alloc only.Expand description
AlgorithmIdentifier reference which has Any parameters.
Aliased Type§
pub struct AlgorithmIdentifierOwned {
pub oid: ObjectIdentifier,
pub parameters: Option<Any>,
}Fields§
§oid: ObjectIdentifierAlgorithm OID, i.e. the algorithm field in the AlgorithmIdentifier
ASN.1 schema.
parameters: Option<Any>Algorithm parameters.
Trait Implementations§
Source§impl OwnedToRef for AlgorithmIdentifierOwned
impl OwnedToRef for AlgorithmIdentifierOwned
Source§type Borrowed<'a> = AlgorithmIdentifier<AnyRef<'a>>
type Borrowed<'a> = AlgorithmIdentifier<AnyRef<'a>>
The resulting type referencing back to Self
Source§fn owned_to_ref(&self) -> Self::Borrowed<'_>
fn owned_to_ref(&self) -> Self::Borrowed<'_>
Creates a new object referencing back to the self for storage
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes