pub struct RuleViolation {
pub code: String,
pub message: String,
pub params: Vec<Value>,
}Fields§
§code: String§message: String§params: Vec<Value>Implementations§
Source§impl RuleViolation
impl RuleViolation
Trait Implementations§
Source§impl Clone for RuleViolation
impl Clone for RuleViolation
Source§fn clone(&self) -> RuleViolation
fn clone(&self) -> RuleViolation
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 RuleViolation
impl Debug for RuleViolation
Source§impl Default for RuleViolation
impl Default for RuleViolation
Source§fn default() -> RuleViolation
fn default() -> RuleViolation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuleViolation
impl<'de> Deserialize<'de> for RuleViolation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuleViolation
impl PartialEq for RuleViolation
Source§impl Serialize for RuleViolation
impl Serialize for RuleViolation
impl StructuralPartialEq for RuleViolation
Auto Trait Implementations§
impl Freeze for RuleViolation
impl RefUnwindSafe for RuleViolation
impl Send for RuleViolation
impl Sync for RuleViolation
impl Unpin for RuleViolation
impl UnwindSafe for RuleViolation
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