pub struct GYearMonthValue {
pub year: i32,
pub month: u8,
pub timezone: Option<TimezoneOffset>,
}Expand description
xs:gYearMonth value
Fields§
§year: i32§month: u8§timezone: Option<TimezoneOffset>Trait Implementations§
Source§impl Clone for GYearMonthValue
impl Clone for GYearMonthValue
Source§fn clone(&self) -> GYearMonthValue
fn clone(&self) -> GYearMonthValue
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 GYearMonthValue
impl Debug for GYearMonthValue
Source§impl Display for GYearMonthValue
impl Display for GYearMonthValue
Source§impl PartialEq for GYearMonthValue
impl PartialEq for GYearMonthValue
Source§fn eq(&self, other: &GYearMonthValue) -> bool
fn eq(&self, other: &GYearMonthValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GYearMonthValue
impl PartialOrd for GYearMonthValue
impl StructuralPartialEq for GYearMonthValue
Auto Trait Implementations§
impl Freeze for GYearMonthValue
impl RefUnwindSafe for GYearMonthValue
impl Send for GYearMonthValue
impl Sync for GYearMonthValue
impl Unpin for GYearMonthValue
impl UnsafeUnpin for GYearMonthValue
impl UnwindSafe for GYearMonthValue
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