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