pub struct VariantSchema {
pub name: &'static str,
pub tag: u16,
pub fields: &'static [FieldSchema],
}Fields§
§name: &'static str§tag: u16§fields: &'static [FieldSchema]Trait Implementations§
Source§impl Clone for VariantSchema
impl Clone for VariantSchema
impl Copy for VariantSchema
Source§impl Debug for VariantSchema
impl Debug for VariantSchema
impl Eq for VariantSchema
Source§impl PartialEq for VariantSchema
impl PartialEq for VariantSchema
impl StructuralPartialEq for VariantSchema
Auto Trait Implementations§
impl Freeze for VariantSchema
impl RefUnwindSafe for VariantSchema
impl Send for VariantSchema
impl Sync for VariantSchema
impl Unpin for VariantSchema
impl UnsafeUnpin for VariantSchema
impl UnwindSafe for VariantSchema
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