pub struct CodeScanningAlertReopenedByUserAlertInstancesItem {
pub analysis_key: String,
pub classifications: Vec<String>,
pub commit_sha: Option<String>,
pub environment: String,
pub location: Option<CodeScanningAlertReopenedByUserAlertInstancesItemLocation>,
pub message: Option<CodeScanningAlertReopenedByUserAlertInstancesItemMessage>,
pub ref_: String,
pub state: CodeScanningAlertReopenedByUserAlertInstancesItemState,
}
Expand description
CodeScanningAlertReopenedByUserAlertInstancesItem
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<CodeScanningAlertReopenedByUserAlertInstancesItemLocation>
§message: Option<CodeScanningAlertReopenedByUserAlertInstancesItemMessage>
§ref_: String
The full Git reference, formatted as refs/heads/<branch name>
.
state: CodeScanningAlertReopenedByUserAlertInstancesItemState
Implementations§
Trait Implementations§
Source§impl Clone for CodeScanningAlertReopenedByUserAlertInstancesItem
impl Clone for CodeScanningAlertReopenedByUserAlertInstancesItem
Source§fn clone(&self) -> CodeScanningAlertReopenedByUserAlertInstancesItem
fn clone(&self) -> CodeScanningAlertReopenedByUserAlertInstancesItem
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 CodeScanningAlertReopenedByUserAlertInstancesItem
impl<'de> Deserialize<'de> for CodeScanningAlertReopenedByUserAlertInstancesItem
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<&CodeScanningAlertReopenedByUserAlertInstancesItem> for CodeScanningAlertReopenedByUserAlertInstancesItem
impl From<&CodeScanningAlertReopenedByUserAlertInstancesItem> for CodeScanningAlertReopenedByUserAlertInstancesItem
Source§fn from(value: &CodeScanningAlertReopenedByUserAlertInstancesItem) -> Self
fn from(value: &CodeScanningAlertReopenedByUserAlertInstancesItem) -> Self
Converts to this type from the input type.
Source§impl From<CodeScanningAlertReopenedByUserAlertInstancesItem> for CodeScanningAlertReopenedByUserAlertInstancesItem
impl From<CodeScanningAlertReopenedByUserAlertInstancesItem> for CodeScanningAlertReopenedByUserAlertInstancesItem
Source§fn from(value: CodeScanningAlertReopenedByUserAlertInstancesItem) -> Self
fn from(value: CodeScanningAlertReopenedByUserAlertInstancesItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodeScanningAlertReopenedByUserAlertInstancesItem
impl RefUnwindSafe for CodeScanningAlertReopenedByUserAlertInstancesItem
impl Send for CodeScanningAlertReopenedByUserAlertInstancesItem
impl Sync for CodeScanningAlertReopenedByUserAlertInstancesItem
impl Unpin for CodeScanningAlertReopenedByUserAlertInstancesItem
impl UnwindSafe for CodeScanningAlertReopenedByUserAlertInstancesItem
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