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: CodeScanningAlertInstancenumber: i64

The security alert number.

rule: CodeScanningAlertRuleSummarystate: CodeScanningAlertState

State of a code scanning alert.

tool: CodeScanningAnalysisToolurl: String

The REST API URL of the alert resource.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.