#[non_exhaustive]pub struct ListDataSourcesRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
/* private fields */
}Expand description
Request to list supported data sources and their data transfer settings.
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.parent: StringRequired. The BigQuery project id for which data sources should be
returned. Must be in the form: projects/{project_id} or
projects/{project_id}/locations/{location_id}
page_token: StringPagination token, which can be used to request a specific page
of ListDataSourcesRequest list results. For multiple-page
results, ListDataSourcesResponse outputs
a next_page token, which can be used as the
page_token value to request the next page of list results.
page_size: i32Page size. The default page size is the maximum value of 1000 results.
Implementations§
Source§impl ListDataSourcesRequest
impl ListDataSourcesRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Trait Implementations§
Source§impl Clone for ListDataSourcesRequest
impl Clone for ListDataSourcesRequest
Source§fn clone(&self) -> ListDataSourcesRequest
fn clone(&self) -> ListDataSourcesRequest
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 ListDataSourcesRequest
impl Debug for ListDataSourcesRequest
Source§impl Default for ListDataSourcesRequest
impl Default for ListDataSourcesRequest
Source§fn default() -> ListDataSourcesRequest
fn default() -> ListDataSourcesRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListDataSourcesRequest
impl Message for ListDataSourcesRequest
Source§impl PartialEq for ListDataSourcesRequest
impl PartialEq for ListDataSourcesRequest
impl StructuralPartialEq for ListDataSourcesRequest
Auto Trait Implementations§
impl Freeze for ListDataSourcesRequest
impl RefUnwindSafe for ListDataSourcesRequest
impl Send for ListDataSourcesRequest
impl Sync for ListDataSourcesRequest
impl Unpin for ListDataSourcesRequest
impl UnwindSafe for ListDataSourcesRequest
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