pub enum FlagShape {
BoolFlag(BoolFlagShape),
CountFlag(Option<u32>),
}Variants§
Trait Implementations§
impl Copy for FlagShape
Source§impl<'de> Deserialize<'de> for FlagShape
impl<'de> Deserialize<'de> for FlagShape
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 FlagShape
Source§impl FromSchema for FlagShape
impl FromSchema for FlagShape
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Source§impl IntoSchema for FlagShape
impl IntoSchema for FlagShape
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
impl StructuralPartialEq for FlagShape
Auto Trait Implementations§
impl Freeze for FlagShape
impl RefUnwindSafe for FlagShape
impl Send for FlagShape
impl Sync for FlagShape
impl Unpin for FlagShape
impl UnsafeUnpin for FlagShape
impl UnwindSafe for FlagShape
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