pub enum DisplaySchedule {
Once,
Session,
Every {
seconds: u64,
},
Always,
}Variants§
Once
Display it only once: after dismissal do not show it again
Session
Display it again the next session if it is dismissed
Every
Display it again after a certain period of time after it is dismissed
Always
Always display it, do not allow it to be dismissed
Trait Implementations§
Source§impl Clone for DisplaySchedule
impl Clone for DisplaySchedule
Source§fn clone(&self) -> DisplaySchedule
fn clone(&self) -> DisplaySchedule
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 DisplaySchedule
impl Debug for DisplaySchedule
Source§impl<'de> Deserialize<'de> for DisplaySchedule
impl<'de> Deserialize<'de> for DisplaySchedule
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
Source§impl PartialEq for DisplaySchedule
impl PartialEq for DisplaySchedule
Source§impl Serialize for DisplaySchedule
impl Serialize for DisplaySchedule
Source§impl<'__s> ToSchema<'__s> for DisplaySchedule
impl<'__s> ToSchema<'__s> for DisplaySchedule
impl StructuralPartialEq for DisplaySchedule
Auto Trait Implementations§
impl Freeze for DisplaySchedule
impl RefUnwindSafe for DisplaySchedule
impl Send for DisplaySchedule
impl Sync for DisplaySchedule
impl Unpin for DisplaySchedule
impl UnwindSafe for DisplaySchedule
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