pub struct SwiftDate {
pub date: NaiveDate,
pub raw: String,
}
Expand description
Date field representation
Fields§
§date: NaiveDate
§raw: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SwiftDate
impl<'de> Deserialize<'de> for SwiftDate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SwiftDate
impl RefUnwindSafe for SwiftDate
impl Send for SwiftDate
impl Sync for SwiftDate
impl Unpin for SwiftDate
impl UnwindSafe for SwiftDate
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