Struct gedcomx::Timestamp [−][src]
#[non_exhaustive]pub struct Timestamp { /* fields omitted */ }
Expand description
When an event something was created or modified.
Not the same as Date
which represents things in the Gedcomx
date format.
In JSON this is represented as the number of milliseconds since the Unix epoch. In XML it’s represented by xsd:dateTime.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
Auto Trait Implementations
impl RefUnwindSafe for Timestamp
impl UnwindSafe for Timestamp
Blanket Implementations
Mutably borrows from an owned value. Read more