pub struct ObjectSchema {
pub fields: Vec<(String, Box<dyn Schema>)>,
pub passthrough: bool,
}Fields§
§fields: Vec<(String, Box<dyn Schema>)>§passthrough: boolImplementations§
Source§impl ObjectSchema
impl ObjectSchema
pub fn passthrough(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjectSchema
impl !RefUnwindSafe for ObjectSchema
impl Send for ObjectSchema
impl Sync for ObjectSchema
impl Unpin for ObjectSchema
impl UnsafeUnpin for ObjectSchema
impl !UnwindSafe for ObjectSchema
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