Struct k8s_openapi_ext::metav1::MicroTime
source · pub struct MicroTime(pub DateTime<Utc>);
Expand description
MicroTime is version of Time with microsecond level precision.
Tuple Fields§
§0: DateTime<Utc>
Trait Implementations§
source§impl DeepMerge for MicroTime
impl DeepMerge for MicroTime
source§fn merge_from(&mut self, other: MicroTime)
fn merge_from(&mut self, other: MicroTime)
Merge
other
into self
.source§impl<'de> Deserialize<'de> for MicroTime
impl<'de> Deserialize<'de> for MicroTime
source§fn deserialize<D>(
deserializer: D
) -> Result<MicroTime, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<MicroTime, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for MicroTime
impl Ord for MicroTime
source§impl PartialEq<MicroTime> for MicroTime
impl PartialEq<MicroTime> for MicroTime
source§impl PartialOrd<MicroTime> for MicroTime
impl PartialOrd<MicroTime> for MicroTime
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MicroTime
impl Serialize for MicroTime
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more