pub struct CodeScanningAlertClosedByUserAlertRule {
pub description: String,
pub full_description: Option<String>,
pub help: (),
pub id: String,
pub name: Option<String>,
pub severity: Option<CodeScanningAlertClosedByUserAlertRuleSeverity>,
pub tags: (),
}
Expand description
CodeScanningAlertClosedByUserAlertRule
JSON schema
{
"type": "object",
"required": [
"description",
"id",
"severity"
],
"properties": {
"description": {
"description": "A short description of the rule used to detect the alert.",
"type": "string"
},
"full_description": {
"type": "string"
},
"help": {
"type": "null"
},
"id": {
"description": "A unique identifier for the rule used to detect the alert.",
"type": "string"
},
"name": {
"type": "string"
},
"severity": {
"description": "The severity of the alert.",
"type": [
"string",
"null"
],
"enum": [
"none",
"note",
"warning",
"error",
null
]
},
"tags": {
"type": "null"
}
},
"additionalProperties": false
}
Fields§
§description: String
A short description of the rule used to detect the alert.
full_description: Option<String>
§help: ()
§id: String
A unique identifier for the rule used to detect the alert.
name: Option<String>
§severity: Option<CodeScanningAlertClosedByUserAlertRuleSeverity>
The severity of the alert.
Implementations§
Trait Implementations§
Source§impl Clone for CodeScanningAlertClosedByUserAlertRule
impl Clone for CodeScanningAlertClosedByUserAlertRule
Source§fn clone(&self) -> CodeScanningAlertClosedByUserAlertRule
fn clone(&self) -> CodeScanningAlertClosedByUserAlertRule
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 CodeScanningAlertClosedByUserAlertRule
impl<'de> Deserialize<'de> for CodeScanningAlertClosedByUserAlertRule
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<&CodeScanningAlertClosedByUserAlertRule> for CodeScanningAlertClosedByUserAlertRule
impl From<&CodeScanningAlertClosedByUserAlertRule> for CodeScanningAlertClosedByUserAlertRule
Source§fn from(value: &CodeScanningAlertClosedByUserAlertRule) -> Self
fn from(value: &CodeScanningAlertClosedByUserAlertRule) -> Self
Converts to this type from the input type.
Source§impl From<CodeScanningAlertClosedByUserAlertRule> for CodeScanningAlertClosedByUserAlertRule
impl From<CodeScanningAlertClosedByUserAlertRule> for CodeScanningAlertClosedByUserAlertRule
Source§fn from(value: CodeScanningAlertClosedByUserAlertRule) -> Self
fn from(value: CodeScanningAlertClosedByUserAlertRule) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodeScanningAlertClosedByUserAlertRule
impl RefUnwindSafe for CodeScanningAlertClosedByUserAlertRule
impl Send for CodeScanningAlertClosedByUserAlertRule
impl Sync for CodeScanningAlertClosedByUserAlertRule
impl Unpin for CodeScanningAlertClosedByUserAlertRule
impl UnwindSafe for CodeScanningAlertClosedByUserAlertRule
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