pub struct CodeScanningAlertInstance {
pub git_ref: Option<CodeScanningRef>,
pub analysis_key: Option<CodeScanningAnalysisAnalysisKey>,
pub environment: Option<CodeScanningAlertEnvironment>,
pub category: Option<CodeScanningAnalysisCategory>,
pub state: Option<CodeScanningAlertState>,
pub commit_sha: Option<String>,
pub message: Option<CodescanningalertinstanceMessage>,
pub location: Option<CodeScanningAlertLocation>,
pub html_url: Option<String>,
pub classifications: Option<Vec<CodeScanningAlertClassification>>,
}
Fields§
§git_ref: Option<CodeScanningRef>
§analysis_key: Option<CodeScanningAnalysisAnalysisKey>
§environment: Option<CodeScanningAlertEnvironment>
§category: Option<CodeScanningAnalysisCategory>
§state: Option<CodeScanningAlertState>
§commit_sha: Option<String>
§message: Option<CodescanningalertinstanceMessage>
§location: Option<CodeScanningAlertLocation>
§html_url: Option<String>
§classifications: Option<Vec<CodeScanningAlertClassification>>
Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file.
Trait Implementations§
Source§impl Clone for CodeScanningAlertInstance
impl Clone for CodeScanningAlertInstance
Source§fn clone(&self) -> CodeScanningAlertInstance
fn clone(&self) -> CodeScanningAlertInstance
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CodeScanningAlertInstance
impl Debug for CodeScanningAlertInstance
Source§impl Default for CodeScanningAlertInstance
impl Default for CodeScanningAlertInstance
Source§fn default() -> CodeScanningAlertInstance
fn default() -> CodeScanningAlertInstance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeScanningAlertInstance
impl<'de> Deserialize<'de> for CodeScanningAlertInstance
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
Source§impl PartialEq for CodeScanningAlertInstance
impl PartialEq for CodeScanningAlertInstance
Source§fn eq(&self, other: &CodeScanningAlertInstance) -> bool
fn eq(&self, other: &CodeScanningAlertInstance) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CodeScanningAlertInstance
Auto Trait Implementations§
impl Freeze for CodeScanningAlertInstance
impl RefUnwindSafe for CodeScanningAlertInstance
impl Send for CodeScanningAlertInstance
impl Sync for CodeScanningAlertInstance
impl Unpin for CodeScanningAlertInstance
impl UnwindSafe for CodeScanningAlertInstance
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