Struct gitlab::webhooks::HookDate [] [src]

pub struct HookDate(_);

A wrapper struct for dates in web hooks.

Gitlab does not use a standard date format for dates in web hooks. This structure supports deserializing the formats that have been observed.

Trait Implementations

impl Debug for HookDate
[src]

Formats the value using the given formatter.

impl Clone for HookDate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for HookDate
[src]

impl Serialize for HookDate
[src]

Serialize this value into the given Serde serializer. Read more

impl Deserialize for HookDate
[src]

Deserialize this value from the given Serde deserializer. Read more

impl AsRef<DateTime<UTC>> for HookDate
[src]

Performs the conversion.