pub struct LunarDto {
pub day: i32,
pub month: i32,
pub year: i32,
pub is_leap_month: bool,
pub date_string: String,
}Fields§
§day: i32§month: i32§year: i32§is_leap_month: bool§date_string: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for LunarDto
impl<'de> Deserialize<'de> for LunarDto
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 LunarDto
impl RefUnwindSafe for LunarDto
impl Send for LunarDto
impl Sync for LunarDto
impl Unpin for LunarDto
impl UnsafeUnpin for LunarDto
impl UnwindSafe for LunarDto
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