pub struct Auto {
pub default: Option<bool>,
}
Expand description
Represents the request for an automatically generated boolean control setting and corresponding predicate.
Fields§
§default: Option<bool>
The default value for the setting. If None
, the setting is enabled by default.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Auto
impl<'de> Deserialize<'de> for Auto
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 Auto
impl RefUnwindSafe for Auto
impl Send for Auto
impl Sync for Auto
impl Unpin for Auto
impl UnwindSafe for Auto
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