pub struct AlertSpec {
pub currency: Option<String>,
pub enforce: Option<bool>,
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§
§currency: Option<String>§enforce: Option<bool>§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§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AlertSpec
impl<'de> Deserialize<'de> for AlertSpec
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
impl StructuralPartialEq for AlertSpec
Auto Trait Implementations§
impl Freeze for AlertSpec
impl RefUnwindSafe for AlertSpec
impl Send for AlertSpec
impl Sync for AlertSpec
impl Unpin for AlertSpec
impl UnsafeUnpin for AlertSpec
impl UnwindSafe for AlertSpec
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