pub struct ModelValidationResult {
pub valid: bool,
pub error: Option<String>,
}Expand description
Model validation result
Fields§
§valid: boolWhether the model is valid
error: Option<String>Error message if invalid
Implementations§
Trait Implementations§
Source§impl Clone for ModelValidationResult
impl Clone for ModelValidationResult
Source§fn clone(&self) -> ModelValidationResult
fn clone(&self) -> ModelValidationResult
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 moreAuto Trait Implementations§
impl Freeze for ModelValidationResult
impl RefUnwindSafe for ModelValidationResult
impl Send for ModelValidationResult
impl Sync for ModelValidationResult
impl Unpin for ModelValidationResult
impl UnsafeUnpin for ModelValidationResult
impl UnwindSafe for ModelValidationResult
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