pub struct TimeBasedMCConfig {
pub enabled: bool,
pub gap_threshold_minutes: u32,
pub keep_recent: u32,
}Fields§
§enabled: bool§gap_threshold_minutes: u32§keep_recent: u32Trait Implementations§
Source§impl Clone for TimeBasedMCConfig
impl Clone for TimeBasedMCConfig
Source§fn clone(&self) -> TimeBasedMCConfig
fn clone(&self) -> TimeBasedMCConfig
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 TimeBasedMCConfig
impl Debug for TimeBasedMCConfig
Source§impl Default for TimeBasedMCConfig
impl Default for TimeBasedMCConfig
Source§fn default() -> TimeBasedMCConfig
fn default() -> TimeBasedMCConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimeBasedMCConfig
impl RefUnwindSafe for TimeBasedMCConfig
impl Send for TimeBasedMCConfig
impl Sync for TimeBasedMCConfig
impl Unpin for TimeBasedMCConfig
impl UnsafeUnpin for TimeBasedMCConfig
impl UnwindSafe for TimeBasedMCConfig
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