pub struct ObjectSchema {
pub valid_fields: &'static [&'static str],
}Expand description
Schema for a simple object with known fields
Fields§
§valid_fields: &'static [&'static str]Valid field names
Implementations§
Source§impl ObjectSchema
impl ObjectSchema
Auto Trait Implementations§
impl Freeze for ObjectSchema
impl RefUnwindSafe for ObjectSchema
impl Send for ObjectSchema
impl Sync for ObjectSchema
impl Unpin 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