pub struct DiagnosticCodeActionData {
pub id: String,
pub code: Option<i32>,
pub code_name: Option<String>,
pub category: DiagnosticCategory,
pub diagram_type: Option<String>,
pub help: Option<String>,
pub fixes: Vec<DiagnosticFix>,
}Fields§
§id: String§code: Option<i32>§code_name: Option<String>§category: DiagnosticCategory§diagram_type: Option<String>§help: Option<String>§fixes: Vec<DiagnosticFix>Trait Implementations§
Source§impl Clone for DiagnosticCodeActionData
impl Clone for DiagnosticCodeActionData
Source§fn clone(&self) -> DiagnosticCodeActionData
fn clone(&self) -> DiagnosticCodeActionData
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 DiagnosticCodeActionData
impl Debug for DiagnosticCodeActionData
Source§impl<'de> Deserialize<'de> for DiagnosticCodeActionData
impl<'de> Deserialize<'de> for DiagnosticCodeActionData
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 DiagnosticCodeActionData
Source§impl PartialEq for DiagnosticCodeActionData
impl PartialEq for DiagnosticCodeActionData
Source§fn eq(&self, other: &DiagnosticCodeActionData) -> bool
fn eq(&self, other: &DiagnosticCodeActionData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiagnosticCodeActionData
impl Serialize for DiagnosticCodeActionData
impl StructuralPartialEq for DiagnosticCodeActionData
Auto Trait Implementations§
impl Freeze for DiagnosticCodeActionData
impl RefUnwindSafe for DiagnosticCodeActionData
impl Send for DiagnosticCodeActionData
impl Sync for DiagnosticCodeActionData
impl Unpin for DiagnosticCodeActionData
impl UnsafeUnpin for DiagnosticCodeActionData
impl UnwindSafe for DiagnosticCodeActionData
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.