pub struct Instant(pub OffsetDateTime);Expand description
FHIR instant type: https://hl7.org/fhir/datatypes.html#instant
Tuple Fields§
§0: OffsetDateTimeMethods from Deref<Target = OffsetDateTime>§
pub const UNIX_EPOCH: OffsetDateTime
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Instant
impl<'de> Deserialize<'de> for Instant
Source§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
Source§impl From<Instant> for OffsetDateTime
impl From<Instant> for OffsetDateTime
Source§fn from(wrapper: Instant) -> OffsetDateTime
fn from(wrapper: Instant) -> OffsetDateTime
Converts to this type from the input type.
Source§impl From<OffsetDateTime> for Instant
impl From<OffsetDateTime> for Instant
Source§fn from(inner: OffsetDateTime) -> Self
fn from(inner: OffsetDateTime) -> Self
Converts to this type from the input type.
Source§impl Ord for Instant
impl Ord for Instant
Source§impl PartialOrd for Instant
impl PartialOrd for Instant
impl Eq for Instant
impl StructuralPartialEq for Instant
Auto Trait Implementations§
impl Freeze for Instant
impl RefUnwindSafe for Instant
impl Send for Instant
impl Sync for Instant
impl Unpin for Instant
impl UnwindSafe for Instant
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more