pub enum ShapeAttribute {
DenyUnknownFields,
Default,
Arbitrary(&'static str),
}Expand description
An attribute that can be applied to a shape
Variants§
DenyUnknownFields
Specifies an alternative name for the field (for serialization/deserialization)
Default
Indicates the shape has a default value
Arbitrary(&'static str)
Custom field attribute containing arbitrary text
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShapeAttribute
impl RefUnwindSafe for ShapeAttribute
impl Send for ShapeAttribute
impl Sync for ShapeAttribute
impl Unpin for ShapeAttribute
impl UnwindSafe for ShapeAttribute
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