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
Source§fn clone(&self) -> BoolFlagShape
fn clone(&self) -> BoolFlagShape
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 moreimpl 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<BoolFlagShape, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BoolFlagShape, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BoolFlagShape
Source§impl From<&BoolFlagShape> for BoolFlagShape
impl From<&BoolFlagShape> for BoolFlagShape
Source§fn from(b: &BoolFlagShape) -> BoolFlagShape
fn from(b: &BoolFlagShape) -> BoolFlagShape
Converts to this type from the input type.
Source§impl From<&BoolFlagShape> for BoolFlagShape
impl From<&BoolFlagShape> for BoolFlagShape
Source§fn from(b: &BoolFlagShape) -> BoolFlagShape
fn from(b: &BoolFlagShape) -> BoolFlagShape
Converts to this type from the input type.
Source§impl FromSchema for BoolFlagShape
impl FromSchema for BoolFlagShape
fn from_value(value: &SchemaValue) -> Result<BoolFlagShape, 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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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