Struct temporal_rs::options::RelativeTo
source · pub struct RelativeTo<'a, C: CalendarProtocol, Z: TzProtocol> {
pub date: Option<&'a Date<C>>,
pub zdt: Option<&'a ZonedDateTime<C, Z>>,
}
Fields§
§date: Option<&'a Date<C>>
§zdt: Option<&'a ZonedDateTime<C, Z>>
Auto Trait Implementations§
impl<'a, C, Z> RefUnwindSafe for RelativeTo<'a, C, Z>where
C: RefUnwindSafe,
Z: RefUnwindSafe,
impl<'a, C, Z> !Send for RelativeTo<'a, C, Z>
impl<'a, C, Z> !Sync for RelativeTo<'a, C, Z>
impl<'a, C, Z> Unpin for RelativeTo<'a, C, Z>
impl<'a, C, Z> UnwindSafe for RelativeTo<'a, C, Z>where
C: RefUnwindSafe,
Z: RefUnwindSafe,
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