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