#[non_exhaustive]pub struct AutoReload {
pub enabled: Option<bool>,
pub extra: Extra,
}Expand description
Prepaid auto-reload, read-only.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: Option<bool>Whether it is on.
extra: ExtraAnything else (thresholds).
Trait Implementations§
Source§impl Clone for AutoReload
impl Clone for AutoReload
Source§impl Debug for AutoReload
impl Debug for AutoReload
Source§impl Default for AutoReload
impl Default for AutoReload
Source§impl<'de> Deserialize<'de> for AutoReload
impl<'de> Deserialize<'de> for AutoReload
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 AutoReload
impl PartialEq for AutoReload
impl StructuralPartialEq for AutoReload
Auto Trait Implementations§
impl Forget for AutoReload
impl Freeze for AutoReload
impl RefUnwindSafe for AutoReload
impl Send for AutoReload
impl Sync for AutoReload
impl Unpin for AutoReload
impl UnsafeUnpin for AutoReload
impl UnwindSafe for AutoReload
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