pub struct BigQueryDatasetListBuilder<'a> { /* private fields */ }Expand description
A listing of the datasets in a project, from
BigQuerySchemaBuilder::datasets.
Implementations§
Source§impl<'a> BigQueryDatasetListBuilder<'a>
impl<'a> BigQueryDatasetListBuilder<'a>
Sourcepub fn project(self, project: impl Into<String>) -> Self
pub fn project(self, project: impl Into<String>) -> Self
Lists the datasets of project rather than of the client’s.
Sourcepub fn page_size(self, page_size: u32) -> Self
pub fn page_size(self, page_size: u32) -> Self
How many datasets one ListDatasets call returns; unset is BigQuery’s default.
Sourcepub async fn stream_all<'b>(
self,
) -> BigQueryResult<BoxStream<'b, BigQueryDatasetSummary>>
pub async fn stream_all<'b>( self, ) -> BigQueryResult<BoxStream<'b, BigQueryDatasetSummary>>
Streams the datasets, fetching each page as the stream reaches it. A failed page is
logged and ends the stream; see stream_all_with_errors
to see it.
Sourcepub async fn stream_all_with_errors<'b>(
self,
) -> BigQueryResult<BoxStream<'b, BigQueryResult<BigQueryDatasetSummary>>>
pub async fn stream_all_with_errors<'b>( self, ) -> BigQueryResult<BoxStream<'b, BigQueryResult<BigQueryDatasetSummary>>>
Like stream_all, with a failed page as the stream’s last item.
Trait Implementations§
Source§impl<'a> Clone for BigQueryDatasetListBuilder<'a>
impl<'a> Clone for BigQueryDatasetListBuilder<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BigQueryDatasetListBuilder<'a>
impl<'a> !UnwindSafe for BigQueryDatasetListBuilder<'a>
impl<'a> Forget for BigQueryDatasetListBuilder<'a>
impl<'a> Freeze for BigQueryDatasetListBuilder<'a>
impl<'a> Move for BigQueryDatasetListBuilder<'a>
impl<'a> Send for BigQueryDatasetListBuilder<'a>
impl<'a> Sync for BigQueryDatasetListBuilder<'a>
impl<'a> Unpin for BigQueryDatasetListBuilder<'a>
impl<'a> UnsafeUnpin for BigQueryDatasetListBuilder<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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