pub struct StaticViolation {
pub kind: String,
pub pattern: String,
pub line: usize,
}Fields§
§kind: String§pattern: String§line: usizeTrait Implementations§
Source§impl Clone for StaticViolation
impl Clone for StaticViolation
Source§fn clone(&self) -> StaticViolation
fn clone(&self) -> StaticViolation
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 StaticViolation
impl Debug for StaticViolation
Source§impl<'de> Deserialize<'de> for StaticViolation
impl<'de> Deserialize<'de> for StaticViolation
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
Auto Trait Implementations§
impl Freeze for StaticViolation
impl RefUnwindSafe for StaticViolation
impl Send for StaticViolation
impl Sync for StaticViolation
impl Unpin for StaticViolation
impl UnsafeUnpin for StaticViolation
impl UnwindSafe for StaticViolation
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