pub struct Issue {
pub code: String,
pub message: String,
pub severity: Severity,
pub attribute_name: Option<String>,
}Expand description
Issue : An issue with a listings item.
Fields
code: StringAn issue code that identifies the type of issue.
message: StringA message that describes the issue.
severity: SeverityThe severity of the issue.
attribute_name: Option<String>Name of the attribute associated with the issue, if applicable.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Issue
impl<'de> Deserialize<'de> for Issue
sourcefn 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 StructuralPartialEq for Issue
Auto Trait Implementations
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnwindSafe for Issue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more