pub struct DateParts {
pub year: Option<i32>,
pub month: Option<u8>,
pub day: Option<u8>,
pub season: Option<u8>,
}Expand description
One date in a CSL Date; any subset of the parts may be present.
Fields§
§year: Option<i32>§month: Option<u8>§day: Option<u8>§season: Option<u8>Trait Implementations§
Source§impl Ord for DateParts
impl Ord for DateParts
Source§impl PartialOrd for DateParts
impl PartialOrd for DateParts
impl Copy for DateParts
impl Eq for DateParts
impl StructuralPartialEq for DateParts
Auto Trait Implementations§
impl Freeze for DateParts
impl RefUnwindSafe for DateParts
impl Send for DateParts
impl Sync for DateParts
impl Unpin for DateParts
impl UnsafeUnpin for DateParts
impl UnwindSafe for DateParts
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