pub struct AlertPatch {
pub enforce: Option<bool>,
pub id: Option<String>,
pub project: Option<String>,
pub rate_limit_rpm: Option<i32>,
pub service: Option<String>,
pub soft_pct: Option<i32>,
pub subject: Option<String>,
pub threshold: Option<i32>,
pub title: Option<String>,
}Fields§
§enforce: Option<bool>§id: Option<String>§project: Option<String>§rate_limit_rpm: Option<i32>§service: Option<String>§soft_pct: Option<i32>§subject: Option<String>§threshold: Option<i32>§title: Option<String>Implementations§
Source§impl AlertPatch
impl AlertPatch
pub fn new() -> AlertPatch
Trait Implementations§
Source§impl Clone for AlertPatch
impl Clone for AlertPatch
Source§fn clone(&self) -> AlertPatch
fn clone(&self) -> AlertPatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlertPatch
impl Debug for AlertPatch
Source§impl Default for AlertPatch
impl Default for AlertPatch
Source§fn default() -> AlertPatch
fn default() -> AlertPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AlertPatch
impl<'de> Deserialize<'de> for AlertPatch
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 AlertPatch
impl PartialEq for AlertPatch
Source§impl Serialize for AlertPatch
impl Serialize for AlertPatch
impl StructuralPartialEq for AlertPatch
Auto Trait Implementations§
impl Freeze for AlertPatch
impl RefUnwindSafe for AlertPatch
impl Send for AlertPatch
impl Sync for AlertPatch
impl Unpin for AlertPatch
impl UnsafeUnpin for AlertPatch
impl UnwindSafe for AlertPatch
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