pub struct RootSchemaBuilder(/* private fields */);Implementations§
Source§impl RootSchemaBuilder
impl RootSchemaBuilder
pub fn build(&mut self) -> RootSchema
pub fn id<S: Into<String>>(&mut self, id: S) -> &mut Self
pub fn meta_schema<S: Into<String>>(&mut self, meta_schema: S) -> &mut Self
pub fn defs(&mut self, defs: LinkedHashMap<String, YamlSchema>) -> &mut Self
pub fn schema(&mut self, schema: YamlSchema) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootSchemaBuilder
impl RefUnwindSafe for RootSchemaBuilder
impl !Send for RootSchemaBuilder
impl !Sync for RootSchemaBuilder
impl Unpin for RootSchemaBuilder
impl UnwindSafe for RootSchemaBuilder
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