#[non_exhaustive]pub struct ListBasinsInput {
pub prefix: BasinNamePrefix,
pub start_after: BasinNameStartAfter,
pub limit: Option<usize>,
}Expand description
Input for list_basins operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.prefix: BasinNamePrefixFilter basins whose names begin with this value.
Defaults to "".
start_after: BasinNameStartAfterFilter basins whose names are lexicographically greater than this value.
Note: It must be greater than or equal to prefix.
Defaults to "".
limit: Option<usize>Number of basins to return in a page. Will be clamped to a maximum of 1000.
Defaults to 1000.
Implementations§
Source§impl ListBasinsInput
impl ListBasinsInput
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ListBasinsInput with default values.
Sourcepub fn with_prefix(self, prefix: BasinNamePrefix) -> Self
pub fn with_prefix(self, prefix: BasinNamePrefix) -> Self
Set the prefix used to filter basins whose names begin with this value.
Sourcepub fn with_start_after(self, start_after: BasinNameStartAfter) -> Self
pub fn with_start_after(self, start_after: BasinNameStartAfter) -> Self
Set the value used to filter basins whose names are lexicographically greater than this value.
Sourcepub fn with_limit(self, limit: usize) -> Self
pub fn with_limit(self, limit: usize) -> Self
Set the limit on number of basins to return in a page.
Trait Implementations§
Source§impl Clone for ListBasinsInput
impl Clone for ListBasinsInput
Source§fn clone(&self) -> ListBasinsInput
fn clone(&self) -> ListBasinsInput
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 moreSource§impl Debug for ListBasinsInput
impl Debug for ListBasinsInput
Source§impl Default for ListBasinsInput
impl Default for ListBasinsInput
Source§fn default() -> ListBasinsInput
fn default() -> ListBasinsInput
Returns the “default value” for a type. Read more
Source§impl From<ListBasinsInput> for ListBasinsRequest
impl From<ListBasinsInput> for ListBasinsRequest
Source§fn from(value: ListBasinsInput) -> Self
fn from(value: ListBasinsInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListBasinsInput
impl RefUnwindSafe for ListBasinsInput
impl Send for ListBasinsInput
impl Sync for ListBasinsInput
impl Unpin for ListBasinsInput
impl UnwindSafe for ListBasinsInput
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
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