pub struct FixProposal {
pub violation_id: String,
pub file_path: String,
pub original_snippet: String,
pub fixed_snippet: String,
pub description: String,
}Fields§
§violation_id: String§file_path: String§original_snippet: String§fixed_snippet: String§description: StringTrait Implementations§
Source§impl Clone for FixProposal
impl Clone for FixProposal
Source§fn clone(&self) -> FixProposal
fn clone(&self) -> FixProposal
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 FixProposal
impl Debug for FixProposal
Source§impl<'de> Deserialize<'de> for FixProposal
impl<'de> Deserialize<'de> for FixProposal
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 FixProposal
impl RefUnwindSafe for FixProposal
impl Send for FixProposal
impl Sync for FixProposal
impl Unpin for FixProposal
impl UnsafeUnpin for FixProposal
impl UnwindSafe for FixProposal
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