pub struct ViolationDto {
pub root: String,
pub path: String,
pub rule_id: String,
pub severity: String,
pub moniker: String,
pub kind: String,
pub lines: (u32, u32),
pub message: String,
}Fields§
§root: String§path: String§rule_id: String§severity: String§moniker: String§kind: String§lines: (u32, u32)§message: StringTrait Implementations§
Source§impl Clone for ViolationDto
impl Clone for ViolationDto
Source§fn clone(&self) -> ViolationDto
fn clone(&self) -> ViolationDto
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 ViolationDto
impl Debug for ViolationDto
Source§impl<'de> Deserialize<'de> for ViolationDto
impl<'de> Deserialize<'de> for ViolationDto
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 ViolationDto
Source§impl PartialEq for ViolationDto
impl PartialEq for ViolationDto
Source§impl Serialize for ViolationDto
impl Serialize for ViolationDto
impl StructuralPartialEq for ViolationDto
Auto Trait Implementations§
impl Freeze for ViolationDto
impl RefUnwindSafe for ViolationDto
impl Send for ViolationDto
impl Sync for ViolationDto
impl Unpin for ViolationDto
impl UnsafeUnpin for ViolationDto
impl UnwindSafe for ViolationDto
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