pub struct AutostopConfig {
pub enabled: Option<bool>,
pub seconds: Option<u32>,
}Fields§
§enabled: Option<bool>§seconds: Option<u32>Trait Implementations§
Source§impl Clone for AutostopConfig
impl Clone for AutostopConfig
Source§fn clone(&self) -> AutostopConfig
fn clone(&self) -> AutostopConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AutostopConfig
impl Debug for AutostopConfig
Source§impl<'de> Deserialize<'de> for AutostopConfig
impl<'de> Deserialize<'de> for AutostopConfig
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 AutostopConfig
impl RefUnwindSafe for AutostopConfig
impl Send for AutostopConfig
impl Sync for AutostopConfig
impl Unpin for AutostopConfig
impl UnsafeUnpin for AutostopConfig
impl UnwindSafe for AutostopConfig
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