pub enum ModelValidationError {
MissingCreateCausaloid,
DuplicateCausaloidID {
id: CausaloidId,
},
TargetCausaloidNotFound {
id: CausaloidId,
},
BaseContextNotFound,
DuplicateContextId {
id: ContextId,
},
TargetContextNotFound {
id: ContextId,
},
DuplicateExtraContextId {
id: u64,
},
TargetContextoidNotFound {
id: ContextoidId,
},
DuplicateContextoidId {
id: ContextoidId,
},
AddContextoidError {
err: String,
},
UnsupportedOperation {
operation: String,
},
}
Variants§
MissingCreateCausaloid
DuplicateCausaloidID
Fields
§
id: CausaloidId
TargetCausaloidNotFound
Fields
§
id: CausaloidId
BaseContextNotFound
DuplicateContextId
TargetContextNotFound
DuplicateExtraContextId
TargetContextoidNotFound
Fields
§
id: ContextoidId
DuplicateContextoidId
Fields
§
id: ContextoidId
AddContextoidError
UnsupportedOperation
Trait Implementations§
Source§impl Clone for ModelValidationError
impl Clone for ModelValidationError
Source§fn clone(&self) -> ModelValidationError
fn clone(&self) -> ModelValidationError
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 ModelValidationError
impl Debug for ModelValidationError
Source§impl Display for ModelValidationError
impl Display for ModelValidationError
Source§impl Error for ModelValidationError
impl Error for ModelValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ModelValidationError> for ModelBuildError
impl From<ModelValidationError> for ModelBuildError
Source§fn from(value: ModelValidationError) -> Self
fn from(value: ModelValidationError) -> Self
Converts to this type from the input type.
Source§impl Hash for ModelValidationError
impl Hash for ModelValidationError
Source§impl PartialEq for ModelValidationError
impl PartialEq for ModelValidationError
impl Eq for ModelValidationError
impl StructuralPartialEq for ModelValidationError
Auto Trait Implementations§
impl Freeze for ModelValidationError
impl RefUnwindSafe for ModelValidationError
impl Send for ModelValidationError
impl Sync for ModelValidationError
impl Unpin for ModelValidationError
impl UnwindSafe for ModelValidationError
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