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