pub struct Asn1GeneralizedTime(*mut ASN1_GENERALIZEDTIME);
Expand description

Non-UTC representation of time

If a time can be represented by UTCTime, UTCTime is used otherwise, ASN1_GENERALIZEDTIME is used. This would be, for example outside the year range of 1950-2049.

ASN1_GENERALIZEDTIME_set documentation from OpenSSL provides further details of implementation. Note: these docs are from the master branch as documentation on the 1.1.0 branch did not include this page.

Tuple Fields

0: *mut ASN1_GENERALIZEDTIME

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.

Immutably borrows from an owned value. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Executes the destructor for this type. Read more

The raw C type.

The type representing a reference to this type.

Constructs an instance of this type from its raw type.

Returns a raw pointer to the wrapped value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.