pub struct VendorErrorMatch {
pub class: VendorErrorClass,
pub vendor: String,
pub rule_id: String,
pub diagnostic: String,
}Fields§
§class: VendorErrorClass§vendor: String§rule_id: String§diagnostic: StringImplementations§
Source§impl VendorErrorMatch
impl VendorErrorMatch
pub fn evidence_json(&self, cooldown_until_ms: Option<i64>) -> String
Trait Implementations§
Source§impl Clone for VendorErrorMatch
impl Clone for VendorErrorMatch
Source§fn clone(&self) -> VendorErrorMatch
fn clone(&self) -> VendorErrorMatch
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 VendorErrorMatch
impl Debug for VendorErrorMatch
Source§impl<'de> Deserialize<'de> for VendorErrorMatch
impl<'de> Deserialize<'de> for VendorErrorMatch
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
impl Eq for VendorErrorMatch
Source§impl PartialEq for VendorErrorMatch
impl PartialEq for VendorErrorMatch
Source§impl Serialize for VendorErrorMatch
impl Serialize for VendorErrorMatch
impl StructuralPartialEq for VendorErrorMatch
Auto Trait Implementations§
impl Freeze for VendorErrorMatch
impl RefUnwindSafe for VendorErrorMatch
impl Send for VendorErrorMatch
impl Sync for VendorErrorMatch
impl Unpin for VendorErrorMatch
impl UnsafeUnpin for VendorErrorMatch
impl UnwindSafe for VendorErrorMatch
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.