pub struct BoolFlagShape {
pub default: bool,
pub negatable: bool,
}Fields§
§default: bool§negatable: boolIf true, --no-<name> is auto-synthesized.
Trait Implementations§
Source§impl Clone for BoolFlagShape
impl Clone for BoolFlagShape
impl Copy for BoolFlagShape
Source§impl Debug for BoolFlagShape
impl Debug for BoolFlagShape
Source§impl<'de> Deserialize<'de> for BoolFlagShape
impl<'de> Deserialize<'de> for BoolFlagShape
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
impl Eq for BoolFlagShape
Source§impl FromSchema for BoolFlagShape
impl FromSchema for BoolFlagShape
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Source§impl IntoSchema for BoolFlagShape
impl IntoSchema for BoolFlagShape
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl PartialEq for BoolFlagShape
impl PartialEq for BoolFlagShape
Source§impl Serialize for BoolFlagShape
impl Serialize for BoolFlagShape
impl StructuralPartialEq for BoolFlagShape
Auto Trait Implementations§
impl Freeze for BoolFlagShape
impl RefUnwindSafe for BoolFlagShape
impl Send for BoolFlagShape
impl Sync for BoolFlagShape
impl Unpin for BoolFlagShape
impl UnsafeUnpin for BoolFlagShape
impl UnwindSafe for BoolFlagShape
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