pub struct CodeScanningAlertAppearedInBranchAlertTool {
pub name: String,
pub version: Option<String>,
}
Expand description
CodeScanningAlertAppearedInBranchAlertTool
JSON schema
{
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"description": "The name of the tool used to generate the code scanning analysis alert.",
"type": "string"
},
"version": {
"description": "The version of the tool used to detect the alert.",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Fields§
§name: String
The name of the tool used to generate the code scanning analysis alert.
version: Option<String>
The version of the tool used to detect the alert.
Implementations§
Trait Implementations§
Source§impl Clone for CodeScanningAlertAppearedInBranchAlertTool
impl Clone for CodeScanningAlertAppearedInBranchAlertTool
Source§fn clone(&self) -> CodeScanningAlertAppearedInBranchAlertTool
fn clone(&self) -> CodeScanningAlertAppearedInBranchAlertTool
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 CodeScanningAlertAppearedInBranchAlertTool
impl<'de> Deserialize<'de> for CodeScanningAlertAppearedInBranchAlertTool
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<&CodeScanningAlertAppearedInBranchAlertTool> for CodeScanningAlertAppearedInBranchAlertTool
impl From<&CodeScanningAlertAppearedInBranchAlertTool> for CodeScanningAlertAppearedInBranchAlertTool
Source§fn from(value: &CodeScanningAlertAppearedInBranchAlertTool) -> Self
fn from(value: &CodeScanningAlertAppearedInBranchAlertTool) -> Self
Converts to this type from the input type.
Source§impl From<CodeScanningAlertAppearedInBranchAlertTool> for CodeScanningAlertAppearedInBranchAlertTool
impl From<CodeScanningAlertAppearedInBranchAlertTool> for CodeScanningAlertAppearedInBranchAlertTool
Source§fn from(value: CodeScanningAlertAppearedInBranchAlertTool) -> Self
fn from(value: CodeScanningAlertAppearedInBranchAlertTool) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodeScanningAlertAppearedInBranchAlertTool
impl RefUnwindSafe for CodeScanningAlertAppearedInBranchAlertTool
impl Send for CodeScanningAlertAppearedInBranchAlertTool
impl Sync for CodeScanningAlertAppearedInBranchAlertTool
impl Unpin for CodeScanningAlertAppearedInBranchAlertTool
impl UnwindSafe for CodeScanningAlertAppearedInBranchAlertTool
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