pub struct DependabotUpdateAlertRequest {
pub state: State,
pub dismissed_reason: Option<DismissedReason>,
pub dismissed_comment: Option<String>,
}Fields§
§state: StateThe state of the Dependabot alert. A dismissed_reason must be provided when setting the state to dismissed.
dismissed_reason: Option<DismissedReason>Required when state is dismissed. A reason for dismissing the alert.
dismissed_comment: Option<String>An optional comment associated with dismissing the alert.
Implementations§
Source§impl DependabotUpdateAlertRequest
impl DependabotUpdateAlertRequest
pub fn new(state: State) -> DependabotUpdateAlertRequest
Trait Implementations§
Source§impl Clone for DependabotUpdateAlertRequest
impl Clone for DependabotUpdateAlertRequest
Source§fn clone(&self) -> DependabotUpdateAlertRequest
fn clone(&self) -> DependabotUpdateAlertRequest
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 Debug for DependabotUpdateAlertRequest
impl Debug for DependabotUpdateAlertRequest
Source§impl Default for DependabotUpdateAlertRequest
impl Default for DependabotUpdateAlertRequest
Source§fn default() -> DependabotUpdateAlertRequest
fn default() -> DependabotUpdateAlertRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependabotUpdateAlertRequest
impl<'de> Deserialize<'de> for DependabotUpdateAlertRequest
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 DependabotUpdateAlertRequest
impl PartialEq for DependabotUpdateAlertRequest
Source§fn eq(&self, other: &DependabotUpdateAlertRequest) -> bool
fn eq(&self, other: &DependabotUpdateAlertRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DependabotUpdateAlertRequest
Auto Trait Implementations§
impl Freeze for DependabotUpdateAlertRequest
impl RefUnwindSafe for DependabotUpdateAlertRequest
impl Send for DependabotUpdateAlertRequest
impl Sync for DependabotUpdateAlertRequest
impl Unpin for DependabotUpdateAlertRequest
impl UnwindSafe for DependabotUpdateAlertRequest
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