pub struct YearMonthDurationValue {
pub negative: bool,
pub years: u32,
pub months: u32,
}Expand description
xs:yearMonthDuration (XSD 1.1)
Fields§
§negative: bool§years: u32§months: u32Trait Implementations§
Source§impl Clone for YearMonthDurationValue
impl Clone for YearMonthDurationValue
Source§fn clone(&self) -> YearMonthDurationValue
fn clone(&self) -> YearMonthDurationValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for YearMonthDurationValue
impl Debug for YearMonthDurationValue
Source§impl Display for YearMonthDurationValue
impl Display for YearMonthDurationValue
Source§impl PartialEq for YearMonthDurationValue
impl PartialEq for YearMonthDurationValue
Source§fn eq(&self, other: &YearMonthDurationValue) -> bool
fn eq(&self, other: &YearMonthDurationValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for YearMonthDurationValue
impl PartialOrd for YearMonthDurationValue
impl StructuralPartialEq for YearMonthDurationValue
Auto Trait Implementations§
impl Freeze for YearMonthDurationValue
impl RefUnwindSafe for YearMonthDurationValue
impl Send for YearMonthDurationValue
impl Sync for YearMonthDurationValue
impl Unpin for YearMonthDurationValue
impl UnsafeUnpin for YearMonthDurationValue
impl UnwindSafe for YearMonthDurationValue
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