pub struct UpcomingEventDto {
pub name: String,
pub days_left: i32,
pub is_lunar: bool,
}Fields§
§name: String§days_left: i32§is_lunar: boolTrait Implementations§
Source§impl Clone for UpcomingEventDto
impl Clone for UpcomingEventDto
Source§fn clone(&self) -> UpcomingEventDto
fn clone(&self) -> UpcomingEventDto
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 UpcomingEventDto
impl Debug for UpcomingEventDto
Source§impl<'de> Deserialize<'de> for UpcomingEventDto
impl<'de> Deserialize<'de> for UpcomingEventDto
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 UpcomingEventDto
impl RefUnwindSafe for UpcomingEventDto
impl Send for UpcomingEventDto
impl Sync for UpcomingEventDto
impl Unpin for UpcomingEventDto
impl UnsafeUnpin for UpcomingEventDto
impl UnwindSafe for UpcomingEventDto
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