pub struct GetMiscRandomnumberParams {
pub min_query: Option<String>,
pub max_query: Option<String>,
pub count_query: Option<String>,
pub allow_repeat_query: Option<String>,
pub allow_decimal_query: Option<String>,
pub decimal_places_query: Option<String>,
}Fields§
§min_query: Option<String>§max_query: Option<String>§count_query: Option<String>§allow_repeat_query: Option<String>§allow_decimal_query: Option<String>§decimal_places_query: Option<String>Implementations§
Source§impl GetMiscRandomnumberParams
impl GetMiscRandomnumberParams
pub fn new() -> Self
pub fn min_query(self, value: impl Into<String>) -> Self
pub fn max_query(self, value: impl Into<String>) -> Self
pub fn count_query(self, value: impl Into<String>) -> Self
pub fn allow_repeat_query(self, value: impl Into<String>) -> Self
pub fn allow_decimal_query(self, value: impl Into<String>) -> Self
pub fn decimal_places_query(self, value: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for GetMiscRandomnumberParams
impl Clone for GetMiscRandomnumberParams
Source§fn clone(&self) -> GetMiscRandomnumberParams
fn clone(&self) -> GetMiscRandomnumberParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GetMiscRandomnumberParams
impl RefUnwindSafe for GetMiscRandomnumberParams
impl Send for GetMiscRandomnumberParams
impl Sync for GetMiscRandomnumberParams
impl Unpin for GetMiscRandomnumberParams
impl UnwindSafe for GetMiscRandomnumberParams
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