pub struct IfThenSchema { /* private fields */ }Expand description
A schema for an conditional schema
Implementations§
Source§impl IfThenSchema
impl IfThenSchema
Sourcepub fn new(if_schema: SchemaType, then_schema: SchemaType) -> Self
pub fn new(if_schema: SchemaType, then_schema: SchemaType) -> Self
Create a new if-then schema
Trait Implementations§
Source§impl Clone for IfThenSchema
impl Clone for IfThenSchema
Source§fn clone(&self) -> IfThenSchema
fn clone(&self) -> IfThenSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IfThenSchema
impl Debug for IfThenSchema
Auto Trait Implementations§
impl Freeze for IfThenSchema
impl RefUnwindSafe for IfThenSchema
impl Send for IfThenSchema
impl Sync for IfThenSchema
impl Unpin for IfThenSchema
impl UnwindSafe for IfThenSchema
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