pub struct CoordinationAlertRule {Show 15 fields
pub id: String,
pub name: Option<String>,
pub min_kols: u32,
pub window_minutes: u32,
pub min_score: u32,
pub include_majors: bool,
pub cooldown_min: u32,
pub score_jump_break: u32,
pub delivery_mode: CoordinationDeliveryMode,
pub webhook_url: Option<String>,
pub min_mc_usd: Option<f64>,
pub max_mc_usd: Option<f64>,
pub is_active: bool,
pub created_at: String,
pub updated_at: Option<String>,
}Fields§
§id: String§name: Option<String>§min_kols: u32§window_minutes: u32§min_score: u32§include_majors: bool§cooldown_min: u32§score_jump_break: u32§delivery_mode: CoordinationDeliveryMode§webhook_url: Option<String>§min_mc_usd: Option<f64>v0.7 — entry-MC band on the rule (None = open-ended).
max_mc_usd: Option<f64>§is_active: bool§created_at: String§updated_at: Option<String>Trait Implementations§
Source§impl Clone for CoordinationAlertRule
impl Clone for CoordinationAlertRule
Source§fn clone(&self) -> CoordinationAlertRule
fn clone(&self) -> CoordinationAlertRule
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 CoordinationAlertRule
impl Debug for CoordinationAlertRule
Source§impl<'de> Deserialize<'de> for CoordinationAlertRule
impl<'de> Deserialize<'de> for CoordinationAlertRule
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
Auto Trait Implementations§
impl Freeze for CoordinationAlertRule
impl RefUnwindSafe for CoordinationAlertRule
impl Send for CoordinationAlertRule
impl Sync for CoordinationAlertRule
impl Unpin for CoordinationAlertRule
impl UnsafeUnpin for CoordinationAlertRule
impl UnwindSafe for CoordinationAlertRule
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