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