Struct azure_core::request_options::MaxResults
source · [−]pub struct MaxResults(_);
Implementations
sourceimpl MaxResults
impl MaxResults
pub fn new(max_results: NonZeroU32) -> Self
Trait Implementations
sourceimpl AppendToUrlQuery for MaxResults
impl AppendToUrlQuery for MaxResults
fn append_to_url_query(&self, url: &mut Url)
sourceimpl Clone for MaxResults
impl Clone for MaxResults
sourcefn clone(&self) -> MaxResults
fn clone(&self) -> MaxResults
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MaxResults
impl Debug for MaxResults
sourceimpl From<NonZeroU32> for MaxResults
impl From<NonZeroU32> for MaxResults
sourcefn from(max_results: NonZeroU32) -> Self
fn from(max_results: NonZeroU32) -> Self
Converts to this type from the input type.
sourceimpl Ord for MaxResults
impl Ord for MaxResults
sourcefn cmp(&self, other: &MaxResults) -> Ordering
fn cmp(&self, other: &MaxResults) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MaxResults> for MaxResults
impl PartialEq<MaxResults> for MaxResults
sourcefn eq(&self, other: &MaxResults) -> bool
fn eq(&self, other: &MaxResults) -> bool
sourceimpl PartialOrd<MaxResults> for MaxResults
impl PartialOrd<MaxResults> for MaxResults
sourcefn partial_cmp(&self, other: &MaxResults) -> Option<Ordering>
fn partial_cmp(&self, other: &MaxResults) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl TryFrom<u32> for MaxResults
impl TryFrom<u32> for MaxResults
impl Copy for MaxResults
impl Eq for MaxResults
impl StructuralEq for MaxResults
impl StructuralPartialEq for MaxResults
Auto Trait Implementations
impl RefUnwindSafe for MaxResults
impl Send for MaxResults
impl Sync for MaxResults
impl Unpin for MaxResults
impl UnwindSafe for MaxResults
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more