pub struct CodeScanningAlertReopenedAlertInstancesItem {
pub analysis_key: String,
pub classifications: Vec<String>,
pub commit_sha: Option<String>,
pub environment: String,
pub location: Option<CodeScanningAlertReopenedAlertInstancesItemLocation>,
pub message: Option<CodeScanningAlertReopenedAlertInstancesItemMessage>,
pub ref_: String,
pub state: CodeScanningAlertReopenedAlertInstancesItemState,
}
Expand description
CodeScanningAlertReopenedAlertInstancesItem
JSON schema
{
"type": "object",
"required": [
"analysis_key",
"environment",
"ref",
"state"
],
"properties": {
"analysis_key": {
"description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.",
"type": "string"
},
"classifications": {
"type": "array",
"items": {
"type": "string"
}
},
"commit_sha": {
"type": "string"
},
"environment": {
"description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.",
"type": "string"
},
"location": {
"type": "object",
"properties": {
"end_column": {
"type": "integer"
},
"end_line": {
"type": "integer"
},
"path": {
"type": "string"
},
"start_column": {
"type": "integer"
},
"start_line": {
"type": "integer"
}
},
"additionalProperties": false
},
"message": {
"type": "object",
"properties": {
"text": {
"type": "string"
}
},
"additionalProperties": false
},
"ref": {
"description": "The full Git reference, formatted as `refs/heads/<branch name>`.",
"type": "string"
},
"state": {
"type": "string",
"enum": [
"open"
]
}
},
"additionalProperties": false
}
Fields§
§analysis_key: String
Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.
classifications: Vec<String>
§commit_sha: Option<String>
§environment: String
Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.
location: Option<CodeScanningAlertReopenedAlertInstancesItemLocation>
§message: Option<CodeScanningAlertReopenedAlertInstancesItemMessage>
§ref_: String
The full Git reference, formatted as refs/heads/<branch name>
.
state: CodeScanningAlertReopenedAlertInstancesItemState
Implementations§
Trait Implementations§
Source§impl Clone for CodeScanningAlertReopenedAlertInstancesItem
impl Clone for CodeScanningAlertReopenedAlertInstancesItem
Source§fn clone(&self) -> CodeScanningAlertReopenedAlertInstancesItem
fn clone(&self) -> CodeScanningAlertReopenedAlertInstancesItem
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<'de> Deserialize<'de> for CodeScanningAlertReopenedAlertInstancesItem
impl<'de> Deserialize<'de> for CodeScanningAlertReopenedAlertInstancesItem
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 From<&CodeScanningAlertReopenedAlertInstancesItem> for CodeScanningAlertReopenedAlertInstancesItem
impl From<&CodeScanningAlertReopenedAlertInstancesItem> for CodeScanningAlertReopenedAlertInstancesItem
Source§fn from(value: &CodeScanningAlertReopenedAlertInstancesItem) -> Self
fn from(value: &CodeScanningAlertReopenedAlertInstancesItem) -> Self
Converts to this type from the input type.
Source§impl From<CodeScanningAlertReopenedAlertInstancesItem> for CodeScanningAlertReopenedAlertInstancesItem
impl From<CodeScanningAlertReopenedAlertInstancesItem> for CodeScanningAlertReopenedAlertInstancesItem
Source§fn from(value: CodeScanningAlertReopenedAlertInstancesItem) -> Self
fn from(value: CodeScanningAlertReopenedAlertInstancesItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodeScanningAlertReopenedAlertInstancesItem
impl RefUnwindSafe for CodeScanningAlertReopenedAlertInstancesItem
impl Send for CodeScanningAlertReopenedAlertInstancesItem
impl Sync for CodeScanningAlertReopenedAlertInstancesItem
impl Unpin for CodeScanningAlertReopenedAlertInstancesItem
impl UnwindSafe for CodeScanningAlertReopenedAlertInstancesItem
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