pub struct Alert {Show 18 fields
pub created_at: Option<String>,
pub currency: Option<String>,
pub enforce: Option<bool>,
pub id: Option<String>,
pub over: Option<bool>,
pub period: Option<String>,
pub period_spent_cents: Option<i32>,
pub project: Option<String>,
pub rate_limit_rpm: Option<i32>,
pub resets_at: Option<String>,
pub service: Option<String>,
pub soft_pct: Option<i32>,
pub threshold: Option<i32>,
pub title: Option<String>,
pub triggered_at: Option<String>,
pub updated_at: Option<String>,
pub user_id: Option<String>,
pub warn: Option<bool>,
}Fields§
§created_at: Option<String>§currency: Option<String>§enforce: Option<bool>§id: Option<String>§over: Option<bool>§period: Option<String>§period_spent_cents: Option<i32>§project: Option<String>§rate_limit_rpm: Option<i32>§resets_at: Option<String>§service: Option<String>§soft_pct: Option<i32>§threshold: Option<i32>§title: Option<String>§triggered_at: Option<String>§updated_at: Option<String>§user_id: Option<String>§warn: Option<bool>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alert
impl<'de> Deserialize<'de> for Alert
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 Alert
Auto Trait Implementations§
impl Freeze for Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnsafeUnpin for Alert
impl UnwindSafe for Alert
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