pub struct EditableFieldYearMonth {
pub year: u16,
pub month: Month,
}Fields§
§year: u16The year in the format YYYY
month: MonthThe month in the format MM
Trait Implementations§
Source§impl Clone for EditableFieldYearMonth
impl Clone for EditableFieldYearMonth
Source§fn clone(&self) -> EditableFieldYearMonth
fn clone(&self) -> EditableFieldYearMonth
Returns a duplicate of the value. Read more
1.0.0 · 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 EditableFieldYearMonth
impl Debug for EditableFieldYearMonth
Source§impl<'de> Deserialize<'de> for EditableFieldYearMonth
impl<'de> Deserialize<'de> for EditableFieldYearMonth
Source§fn deserialize<D>(deserializer: D) -> Result<EditableFieldYearMonth, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<EditableFieldYearMonth, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl EditableFieldType for EditableFieldYearMonth
impl EditableFieldType for EditableFieldYearMonth
Source§fn field_type(&self) -> FieldType
fn field_type(&self) -> FieldType
The
field_type value associated with the typeSource§impl PartialEq for EditableFieldYearMonth
impl PartialEq for EditableFieldYearMonth
Source§impl Serialize for EditableFieldYearMonth
impl Serialize for EditableFieldYearMonth
impl Eq for EditableFieldYearMonth
impl StructuralPartialEq for EditableFieldYearMonth
Auto Trait Implementations§
impl Freeze for EditableFieldYearMonth
impl RefUnwindSafe for EditableFieldYearMonth
impl Send for EditableFieldYearMonth
impl Sync for EditableFieldYearMonth
impl Unpin for EditableFieldYearMonth
impl UnwindSafe for EditableFieldYearMonth
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