pub struct ApiLimit20(/* private fields */);Expand description
§Notes
Values have to lie between 1 and 20. The default value is 20.
Implementations§
Source§impl ApiLimit20
 
impl ApiLimit20
pub fn new(inner: i32) -> Result<Self, ParameterError>
Source§impl ApiLimit20
 
impl ApiLimit20
pub fn into_inner(self) -> i32
Trait Implementations§
Source§impl Clone for ApiLimit20
 
impl Clone for ApiLimit20
Source§fn clone(&self) -> ApiLimit20
 
fn clone(&self) -> ApiLimit20
Returns a copy 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 moreSource§impl Debug for ApiLimit20
 
impl Debug for ApiLimit20
Source§impl Display for ApiLimit20
 
impl Display for ApiLimit20
Source§impl From<ApiLimit20> for i32
 
impl From<ApiLimit20> for i32
Source§fn from(value: ApiLimit20) -> Self
 
fn from(value: ApiLimit20) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ApiLimit20
 
impl PartialEq for ApiLimit20
Source§impl TryFrom<i32> for ApiLimit20
 
impl TryFrom<i32> for ApiLimit20
impl Copy for ApiLimit20
impl Eq for ApiLimit20
impl StructuralPartialEq for ApiLimit20
Auto Trait Implementations§
impl Freeze for ApiLimit20
impl RefUnwindSafe for ApiLimit20
impl Send for ApiLimit20
impl Sync for ApiLimit20
impl Unpin for ApiLimit20
impl UnwindSafe for ApiLimit20
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