pub struct ListRegisteredModelsBuilder { /* private fields */ }Expand description
Builder for listing registered models
Implementations§
Source§impl ListRegisteredModelsBuilder
impl ListRegisteredModelsBuilder
Sourcepub fn with_catalog_name(self, catalog_name: impl Into<Option<String>>) -> Self
pub fn with_catalog_name(self, catalog_name: impl Into<Option<String>>) -> Self
Name of parent catalog for models of interest.
Sourcepub fn with_schema_name(self, schema_name: impl Into<Option<String>>) -> Self
pub fn with_schema_name(self, schema_name: impl Into<Option<String>>) -> Self
Name of parent schema for models of interest.
Sourcepub fn with_max_results(self, max_results: impl Into<Option<i32>>) -> Self
pub fn with_max_results(self, max_results: impl Into<Option<i32>>) -> Self
The maximum number of results per page that should be returned.
Sourcepub fn with_page_token(self, page_token: impl Into<Option<String>>) -> Self
pub fn with_page_token(self, page_token: impl Into<Option<String>>) -> Self
Opaque pagination token to go to next page based on previous query.
Sourcepub fn with_include_browse(
self,
include_browse: impl Into<Option<bool>>,
) -> Self
pub fn with_include_browse( self, include_browse: impl Into<Option<bool>>, ) -> Self
Whether to include registered models in the response for which the principal can only access selective metadata for.
Sourcepub fn into_stream(self) -> BoxStream<'static, Result<RegisteredModel>>
pub fn into_stream(self) -> BoxStream<'static, Result<RegisteredModel>>
Convert paginated request into stream of results
Trait Implementations§
Source§impl IntoFuture for ListRegisteredModelsBuilder
impl IntoFuture for ListRegisteredModelsBuilder
Source§type Output = Result<ListRegisteredModelsResponse, Error>
type Output = Result<ListRegisteredModelsResponse, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <ListRegisteredModelsBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <ListRegisteredModelsBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ListRegisteredModelsBuilder
impl !UnwindSafe for ListRegisteredModelsBuilder
impl Freeze for ListRegisteredModelsBuilder
impl Send for ListRegisteredModelsBuilder
impl Sync for ListRegisteredModelsBuilder
impl Unpin for ListRegisteredModelsBuilder
impl UnsafeUnpin for ListRegisteredModelsBuilder
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