Struct octorust::types::CodeScanningAlertItems [−][src]
pub struct CodeScanningAlertItems {
pub created_at: DateTime<Utc>,
pub dismissed_at: DateTime<Utc>,
pub dismissed_by: User,
pub dismissed_reason: Value,
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: DateTime<Utc>The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
dismissed_at: DateTime<Utc>The time that the alert was dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
dismissed_by: UserSimple User
dismissed_reason: ValueRequired 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: StringThe GitHub URL of the alert resource.
instances_url: StringThe REST API URL for fetching the list of instances for an alert.
most_recent_instance: CodeScanningAlertInstancenumber: i64The security alert number.
rule: CodeScanningAlertRuleSummarystate: CodeScanningAlertStateState of a code scanning alert.
tool: CodeScanningAnalysisToolurl: StringThe 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 CodeScanningAlertItemsimpl Send for CodeScanningAlertItemsimpl Sync for CodeScanningAlertItemsimpl Unpin for CodeScanningAlertItemsimpl UnwindSafe for CodeScanningAlertItemsBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more