pub struct CodeScanningOrganizationAlertItems {Show 16 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>,
pub repository: Box<SimpleRepository>,
}
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>
§repository: Box<SimpleRepository>
Implementations§
Source§impl CodeScanningOrganizationAlertItems
impl CodeScanningOrganizationAlertItems
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, repository: SimpleRepository, ) -> CodeScanningOrganizationAlertItems
Trait Implementations§
Source§impl Clone for CodeScanningOrganizationAlertItems
impl Clone for CodeScanningOrganizationAlertItems
Source§fn clone(&self) -> CodeScanningOrganizationAlertItems
fn clone(&self) -> CodeScanningOrganizationAlertItems
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 Default for CodeScanningOrganizationAlertItems
impl Default for CodeScanningOrganizationAlertItems
Source§fn default() -> CodeScanningOrganizationAlertItems
fn default() -> CodeScanningOrganizationAlertItems
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeScanningOrganizationAlertItems
impl<'de> Deserialize<'de> for CodeScanningOrganizationAlertItems
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 CodeScanningOrganizationAlertItems
impl PartialEq for CodeScanningOrganizationAlertItems
Source§fn eq(&self, other: &CodeScanningOrganizationAlertItems) -> bool
fn eq(&self, other: &CodeScanningOrganizationAlertItems) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CodeScanningOrganizationAlertItems
Auto Trait Implementations§
impl Freeze for CodeScanningOrganizationAlertItems
impl RefUnwindSafe for CodeScanningOrganizationAlertItems
impl Send for CodeScanningOrganizationAlertItems
impl Sync for CodeScanningOrganizationAlertItems
impl Unpin for CodeScanningOrganizationAlertItems
impl UnwindSafe for CodeScanningOrganizationAlertItems
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