pub struct ListCollectionsBuilder { /* private fields */ }Expand description
Builder for ListCollections.
Implementations§
Source§impl ListCollectionsBuilder
impl ListCollectionsBuilder
Sourcepub fn limit(self, limit: u32) -> Self
pub fn limit(self, limit: u32) -> Self
Maximum number of collections to return (must be 1..=100).
Sourcepub fn offset_token(self, offset_token: impl Into<String>) -> Self
pub fn offset_token(self, offset_token: impl Into<String>) -> Self
Opaque token from a previous page’s next_offset_token.
Sourcepub fn build(self) -> ListCollections
pub fn build(self) -> ListCollections
Build the ListCollections request.
Trait Implementations§
Source§impl Clone for ListCollectionsBuilder
impl Clone for ListCollectionsBuilder
Source§impl Default for ListCollectionsBuilder
impl Default for ListCollectionsBuilder
Source§impl From<ListCollectionsBuilder> for ListCollections
impl From<ListCollectionsBuilder> for ListCollections
Source§fn from(builder: ListCollectionsBuilder) -> Self
fn from(builder: ListCollectionsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListCollectionsBuilder
impl RefUnwindSafe for ListCollectionsBuilder
impl Send for ListCollectionsBuilder
impl Sync for ListCollectionsBuilder
impl Unpin for ListCollectionsBuilder
impl UnsafeUnpin for ListCollectionsBuilder
impl UnwindSafe for ListCollectionsBuilder
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request