pub struct DatePart {
pub name: String,
pub form: Option<String>,
pub range_delimiter: Option<String>,
pub strip_periods: Option<String>,
pub common: Common,
}Expand description
A <date-part> child of <date>.
Fields§
§name: Stringname="day"|"month"|"year".
form: Option<String>§range_delimiter: Option<String>§strip_periods: Option<String>strip-periods="true"|"false" (only meaningful when name="month").
common: CommonTrait Implementations§
impl Eq for DatePart
impl StructuralPartialEq for DatePart
Auto Trait Implementations§
impl Freeze for DatePart
impl RefUnwindSafe for DatePart
impl Send for DatePart
impl Sync for DatePart
impl Unpin for DatePart
impl UnsafeUnpin for DatePart
impl UnwindSafe for DatePart
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