pub struct SecretScanningUpdateAlertRequest {
pub state: SecretScanningAlertState,
pub resolution: Option<Option<SecretScanningAlertResolution>>,
pub resolution_comment: Option<Option<String>>,
}
Fields§
§state: SecretScanningAlertState
§resolution: Option<Option<SecretScanningAlertResolution>>
§resolution_comment: Option<Option<String>>
An optional comment when closing an alert. Cannot be updated or deleted. Must be null
when changing state
to open
.
Implementations§
Trait Implementations§
Source§impl Clone for SecretScanningUpdateAlertRequest
impl Clone for SecretScanningUpdateAlertRequest
Source§fn clone(&self) -> SecretScanningUpdateAlertRequest
fn clone(&self) -> SecretScanningUpdateAlertRequest
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 SecretScanningUpdateAlertRequest
impl Default for SecretScanningUpdateAlertRequest
Source§fn default() -> SecretScanningUpdateAlertRequest
fn default() -> SecretScanningUpdateAlertRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretScanningUpdateAlertRequest
impl<'de> Deserialize<'de> for SecretScanningUpdateAlertRequest
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 SecretScanningUpdateAlertRequest
impl PartialEq for SecretScanningUpdateAlertRequest
Source§fn eq(&self, other: &SecretScanningUpdateAlertRequest) -> bool
fn eq(&self, other: &SecretScanningUpdateAlertRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SecretScanningUpdateAlertRequest
Auto Trait Implementations§
impl Freeze for SecretScanningUpdateAlertRequest
impl RefUnwindSafe for SecretScanningUpdateAlertRequest
impl Send for SecretScanningUpdateAlertRequest
impl Sync for SecretScanningUpdateAlertRequest
impl Unpin for SecretScanningUpdateAlertRequest
impl UnwindSafe for SecretScanningUpdateAlertRequest
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