pub struct MaxItemCount(/* private fields */);Expand description
The max number of items in the collection
Implementations§
Trait Implementations§
Source§impl Clone for MaxItemCount
 
impl Clone for MaxItemCount
Source§fn clone(&self) -> MaxItemCount
 
fn clone(&self) -> MaxItemCount
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 MaxItemCount
 
impl Debug for MaxItemCount
Source§impl Default for MaxItemCount
 
impl Default for MaxItemCount
Source§impl From<i32> for MaxItemCount
 
impl From<i32> for MaxItemCount
Source§impl Header for MaxItemCount
 
impl Header for MaxItemCount
fn name(&self) -> HeaderName
fn value(&self) -> HeaderValue
impl Copy for MaxItemCount
Auto Trait Implementations§
impl Freeze for MaxItemCount
impl RefUnwindSafe for MaxItemCount
impl Send for MaxItemCount
impl Sync for MaxItemCount
impl Unpin for MaxItemCount
impl UnwindSafe for MaxItemCount
Blanket Implementations§
Source§impl<T> AsHeaders for Twhere
    T: Header,
 
impl<T> AsHeaders for Twhere
    T: Header,
type Iter = IntoIter<(HeaderName, HeaderValue)>
fn as_headers(&self) -> <T as AsHeaders>::Iter
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more