Struct octorust::types::CodeScanningAlertItems [−][src]
pub struct CodeScanningAlertItems { pub created_at: Option<DateTime<Utc>>, pub dismissed_at: Option<DateTime<Utc>>, pub dismissed_by: Option<SimpleUser>, pub dismissed_reason: Option<CodeScanningAlertDismissedReason>, pub html_url: String, pub instances_url: String, pub most_recent_instance: CodeScanningAlertInstance, pub number: i64, pub rule: CodeScanningAlertRuleSummary, pub state: CodeScanningAlertState, pub tool: CodeScanningAnalysisTool, pub url: String, }
Fields
created_at: Option<DateTime<Utc>>
The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
dismissed_at: Option<DateTime<Utc>>
The time that the alert was dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
dismissed_by: Option<SimpleUser>
Simple User
dismissed_reason: Option<CodeScanningAlertDismissedReason>
**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: false positive
, won't fix
, and used in tests
.
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.
most_recent_instance: CodeScanningAlertInstance
number: i64
The security alert number.
rule: CodeScanningAlertRuleSummary
state: CodeScanningAlertState
State of a code scanning alert.
tool: CodeScanningAnalysisTool
url: String
The REST API URL of the alert resource.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for CodeScanningAlertItems
impl Send for CodeScanningAlertItems
impl Sync for CodeScanningAlertItems
impl Unpin for CodeScanningAlertItems
impl UnwindSafe for CodeScanningAlertItems
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more