pub struct Limit {
pub max: Option<i32>,
pub up_to_remaining_quota: Option<bool>,
}
Expand description
Limit : Limit of the Narrowcast
Fields§
§max: Option<i32>
The maximum number of narrowcast messages to send. Use this parameter to limit the number of narrowcast messages sent. The recipients will be chosen at random.
up_to_remaining_quota: Option<bool>
If true, the message will be sent within the maximum number of deliverable messages. The default value is false
. Targets will be selected at random.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Limit
impl<'de> Deserialize<'de> for Limit
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 Limit
Auto Trait Implementations§
impl Freeze for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnwindSafe for Limit
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