pub struct CodeScanningAlertItems {Show 15 fields
pub number: i32,
pub created_at: String,
pub updated_at: Option<String>,
pub url: String,
pub html_url: String,
pub instances_url: String,
pub state: CodeScanningAlertState,
pub fixed_at: Option<Option<String>>,
pub dismissed_by: Option<Box<NullableSimpleUser>>,
pub dismissed_at: Option<String>,
pub dismissed_reason: Option<CodeScanningAlertDismissedReason>,
pub dismissed_comment: Option<Option<String>>,
pub rule: Box<CodeScanningAlertRuleSummary>,
pub tool: Box<CodeScanningAnalysisTool>,
pub most_recent_instance: Box<CodeScanningAlertInstance>,
}
Fields§
§number: i32
The security alert number.
created_at: String
The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
updated_at: Option<String>
The time that the alert was last updated in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
url: String
The REST API URL of the alert resource.
html_url: String
The GitHub URL of the alert resource.
instances_url: String
The REST API URL for fetching the list of instances for an alert.
state: CodeScanningAlertState
§fixed_at: Option<Option<String>>
The time that the alert was no longer detected and was considered fixed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
dismissed_by: Option<Box<NullableSimpleUser>>
§dismissed_at: Option<String>
The time that the alert was dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
dismissed_reason: Option<CodeScanningAlertDismissedReason>
§dismissed_comment: Option<Option<String>>
The dismissal comment associated with the dismissal of the alert.
rule: Box<CodeScanningAlertRuleSummary>
§tool: Box<CodeScanningAnalysisTool>
§most_recent_instance: Box<CodeScanningAlertInstance>
Implementations§
Source§impl CodeScanningAlertItems
impl CodeScanningAlertItems
pub fn new( number: i32, created_at: String, url: String, html_url: String, instances_url: String, state: CodeScanningAlertState, dismissed_by: Option<NullableSimpleUser>, dismissed_at: Option<String>, dismissed_reason: Option<CodeScanningAlertDismissedReason>, rule: CodeScanningAlertRuleSummary, tool: CodeScanningAnalysisTool, most_recent_instance: CodeScanningAlertInstance, ) -> CodeScanningAlertItems
Trait Implementations§
Source§impl Clone for CodeScanningAlertItems
impl Clone for CodeScanningAlertItems
Source§fn clone(&self) -> CodeScanningAlertItems
fn clone(&self) -> CodeScanningAlertItems
Returns a duplicate of the value. Read more
1.0.0 · 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 CodeScanningAlertItems
impl Debug for CodeScanningAlertItems
Source§impl Default for CodeScanningAlertItems
impl Default for CodeScanningAlertItems
Source§fn default() -> CodeScanningAlertItems
fn default() -> CodeScanningAlertItems
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeScanningAlertItems
impl<'de> Deserialize<'de> for CodeScanningAlertItems
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 CodeScanningAlertItems
impl PartialEq for CodeScanningAlertItems
Source§impl Serialize for CodeScanningAlertItems
impl Serialize for CodeScanningAlertItems
impl StructuralPartialEq for CodeScanningAlertItems
Auto Trait Implementations§
impl Freeze for CodeScanningAlertItems
impl RefUnwindSafe for CodeScanningAlertItems
impl Send for CodeScanningAlertItems
impl Sync for CodeScanningAlertItems
impl Unpin for CodeScanningAlertItems
impl UnwindSafe for CodeScanningAlertItems
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