pub type UtcTime = DateTime<Utc>;
Expand description
The UTCTime
type.
Aliased Type§
struct UtcTime { /* private fields */ }
Trait Implementations§
Source§impl AsnType for UtcTime
impl AsnType for UtcTime
Source§const TAG_TREE: TagTree = _
const TAG_TREE: TagTree = _
The root of this type’s tree of tag’s if it a CHOICE type, otherwise its
Leaf
that points Self::TAG
.const CONSTRAINTS: Constraints<'static> = Constraints::NONE
Source§const IDENTIFIER: Option<&'static str> = None
const IDENTIFIER: Option<&'static str> = None
Identifier of an ASN.1 type as specified in the original specification
if not identical with the identifier of
Self
Source§impl Decode for UtcTime
impl Decode for UtcTime
fn decode_with_tag_and_constraints<D: Decoder>( decoder: &mut D, tag: Tag, _: Constraints<'_>, ) -> Result<Self, D::Error>
Source§fn decode<D: Decoder>(decoder: &mut D) -> Result<Self, D::Error>
fn decode<D: Decoder>(decoder: &mut D) -> Result<Self, D::Error>
Decode this value from a given ASN.1 decoder. Read more
Source§fn decode_with_tag<D: Decoder>(
decoder: &mut D,
tag: Tag,
) -> Result<Self, D::Error>
fn decode_with_tag<D: Decoder>( decoder: &mut D, tag: Tag, ) -> Result<Self, D::Error>
Decode this value implicitly tagged with
tag
from a given ASN.1 decoder. Read more