#[repr(C)]pub struct PartialDateTime<'a> {
pub date: PartialDate<'a>,
pub time: PartialTime,
}Fields§
§date: PartialDate<'a>§time: PartialTimeTrait Implementations§
Source§impl TryFrom<PartialDateTime<'_>> for DateTimeFields
impl TryFrom<PartialDateTime<'_>> for DateTimeFields
Source§type Error = TemporalError
type Error = TemporalError
The type returned in the event of a conversion error.
Source§fn try_from(other: PartialDateTime<'_>) -> Result<Self, TemporalError>
fn try_from(other: PartialDateTime<'_>) -> Result<Self, TemporalError>
Performs the conversion.
Source§impl TryFrom<PartialDateTime<'_>> for PartialDateTime
impl TryFrom<PartialDateTime<'_>> for PartialDateTime
Source§type Error = TemporalError
type Error = TemporalError
The type returned in the event of a conversion error.
Source§fn try_from(other: PartialDateTime<'_>) -> Result<Self, TemporalError>
fn try_from(other: PartialDateTime<'_>) -> Result<Self, TemporalError>
Performs the conversion.
Auto Trait Implementations§
impl<'a> Freeze for PartialDateTime<'a>
impl<'a> RefUnwindSafe for PartialDateTime<'a>
impl<'a> !Send for PartialDateTime<'a>
impl<'a> !Sync for PartialDateTime<'a>
impl<'a> Unpin for PartialDateTime<'a>
impl<'a> UnsafeUnpin for PartialDateTime<'a>
impl<'a> UnwindSafe for PartialDateTime<'a>
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