pub struct AgentComputerValidationError { /* private fields */ }Expand description
Aggregated validation failure for an Agent Computer public value.
Implementations§
Source§impl AgentComputerValidationError
impl AgentComputerValidationError
Sourcepub fn violations(&self) -> &[AgentComputerValidationViolation]
pub fn violations(&self) -> &[AgentComputerValidationViolation]
Return every descriptor-owned violation in evaluation order.
Sourcepub fn into_violations(self) -> Vec<AgentComputerValidationViolation>
pub fn into_violations(self) -> Vec<AgentComputerValidationViolation>
Consume the error and return every descriptor-owned violation.
Trait Implementations§
Source§impl Clone for AgentComputerValidationError
impl Clone for AgentComputerValidationError
Source§impl Debug for AgentComputerValidationError
impl Debug for AgentComputerValidationError
impl Eq for AgentComputerValidationError
Source§impl Error for AgentComputerValidationError
impl Error for AgentComputerValidationError
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()
impl StructuralPartialEq for AgentComputerValidationError
Auto Trait Implementations§
impl Freeze for AgentComputerValidationError
impl RefUnwindSafe for AgentComputerValidationError
impl Send for AgentComputerValidationError
impl Sync for AgentComputerValidationError
impl Unpin for AgentComputerValidationError
impl UnsafeUnpin for AgentComputerValidationError
impl UnwindSafe for AgentComputerValidationError
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