pub struct Violations(/* private fields */);Expand description
Every Violation found in one object, in document order.
Implementations§
Source§impl Violations
impl Violations
Trait Implementations§
Source§impl Clone for Violations
impl Clone for Violations
Source§fn clone(&self) -> Violations
fn clone(&self) -> Violations
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Violations
impl Debug for Violations
Source§impl Default for Violations
impl Default for Violations
Source§fn default() -> Violations
fn default() -> Violations
Returns the “default value” for a type. Read more
Source§impl Display for Violations
impl Display for Violations
impl Eq for Violations
Source§impl Error for Violations
impl Error for Violations
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<Violations> for OcpiError
Available on crate feature transport only.
impl From<Violations> for OcpiError
Available on crate feature
transport only.Source§fn from(source: Violations) -> Self
fn from(source: Violations) -> Self
Converts to this type from the input type.
Source§impl IntoIterator for Violations
impl IntoIterator for Violations
Source§impl<'a> IntoIterator for &'a Violations
impl<'a> IntoIterator for &'a Violations
Source§impl PartialEq for Violations
impl PartialEq for Violations
impl StructuralPartialEq for Violations
Auto Trait Implementations§
impl Freeze for Violations
impl RefUnwindSafe for Violations
impl Send for Violations
impl Sync for Violations
impl Unpin for Violations
impl UnsafeUnpin for Violations
impl UnwindSafe for Violations
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.