pub struct ValidatedCommandSchema(/* private fields */);Implementations§
Source§impl ValidatedCommandSchema
impl ValidatedCommandSchema
pub fn new(schema: CommandSchema) -> Result<Self, CommandSchemaValidationError>
pub fn schema(&self) -> &CommandSchema
pub fn into_inner(self) -> CommandSchema
Trait Implementations§
Source§impl Clone for ValidatedCommandSchema
impl Clone for ValidatedCommandSchema
Source§fn clone(&self) -> ValidatedCommandSchema
fn clone(&self) -> ValidatedCommandSchema
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 ValidatedCommandSchema
impl Debug for ValidatedCommandSchema
Source§impl Deref for ValidatedCommandSchema
impl Deref for ValidatedCommandSchema
Source§impl PartialEq for ValidatedCommandSchema
impl PartialEq for ValidatedCommandSchema
Source§impl TryFrom<CommandSchema> for ValidatedCommandSchema
impl TryFrom<CommandSchema> for ValidatedCommandSchema
Source§type Error = CommandSchemaValidationError
type Error = CommandSchemaValidationError
The type returned in the event of a conversion error.
impl Eq for ValidatedCommandSchema
impl StructuralPartialEq for ValidatedCommandSchema
Auto Trait Implementations§
impl Freeze for ValidatedCommandSchema
impl RefUnwindSafe for ValidatedCommandSchema
impl Send for ValidatedCommandSchema
impl Sync for ValidatedCommandSchema
impl Unpin for ValidatedCommandSchema
impl UnsafeUnpin for ValidatedCommandSchema
impl UnwindSafe for ValidatedCommandSchema
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