pub struct CodeScanningUpdateAlertRequest {
pub state: CodeScanningAlertSetState,
pub dismissed_reason: Option<Option<CodeScanningAlertDismissedReason>>,
pub dismissed_comment: Option<Option<String>>,
}
Fields§
§state: CodeScanningAlertSetState
§dismissed_reason: Option<Option<CodeScanningAlertDismissedReason>>
§dismissed_comment: Option<Option<String>>
The dismissal comment associated with the dismissal of the alert.
Implementations§
Trait Implementations§
Source§impl Clone for CodeScanningUpdateAlertRequest
impl Clone for CodeScanningUpdateAlertRequest
Source§fn clone(&self) -> CodeScanningUpdateAlertRequest
fn clone(&self) -> CodeScanningUpdateAlertRequest
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 Default for CodeScanningUpdateAlertRequest
impl Default for CodeScanningUpdateAlertRequest
Source§fn default() -> CodeScanningUpdateAlertRequest
fn default() -> CodeScanningUpdateAlertRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeScanningUpdateAlertRequest
impl<'de> Deserialize<'de> for CodeScanningUpdateAlertRequest
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 PartialEq for CodeScanningUpdateAlertRequest
impl PartialEq for CodeScanningUpdateAlertRequest
Source§fn eq(&self, other: &CodeScanningUpdateAlertRequest) -> bool
fn eq(&self, other: &CodeScanningUpdateAlertRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CodeScanningUpdateAlertRequest
Auto Trait Implementations§
impl Freeze for CodeScanningUpdateAlertRequest
impl RefUnwindSafe for CodeScanningUpdateAlertRequest
impl Send for CodeScanningUpdateAlertRequest
impl Sync for CodeScanningUpdateAlertRequest
impl Unpin for CodeScanningUpdateAlertRequest
impl UnwindSafe for CodeScanningUpdateAlertRequest
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