pub enum PresetDef {
Error(ErrorDef),
Patch,
MediaType(MediaTypeDef),
FromJson,
}Variants§
Implementations§
Trait Implementations§
Source§impl From<PresetDef> for Definition
impl From<PresetDef> for Definition
impl StructuralPartialEq for PresetDef
Auto Trait Implementations§
impl Freeze for PresetDef
impl RefUnwindSafe for PresetDef
impl Send for PresetDef
impl Sync for PresetDef
impl Unpin for PresetDef
impl UnwindSafe for PresetDef
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