#[non_exhaustive]pub struct ListOrgDataExchangesRequest {
pub organization: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Message for requesting the list of data exchanges from projects in an organization and location.
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.organization: StringRequired. The organization resource path of the projects containing
DataExchanges. e.g. organizations/myorg/locations/us.
page_size: i32The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.
page_token: StringPage token, returned by a previous call, to request the next page of results.
Implementations§
Source§impl ListOrgDataExchangesRequest
impl ListOrgDataExchangesRequest
pub fn new() -> Self
Sourcepub fn set_organization<T: Into<String>>(self, v: T) -> Self
pub fn set_organization<T: Into<String>>(self, v: T) -> Self
Sets the value of organization.
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.
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.
Trait Implementations§
Source§impl Clone for ListOrgDataExchangesRequest
impl Clone for ListOrgDataExchangesRequest
Source§fn clone(&self) -> ListOrgDataExchangesRequest
fn clone(&self) -> ListOrgDataExchangesRequest
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 ListOrgDataExchangesRequest
impl Debug for ListOrgDataExchangesRequest
Source§impl Default for ListOrgDataExchangesRequest
impl Default for ListOrgDataExchangesRequest
Source§fn default() -> ListOrgDataExchangesRequest
fn default() -> ListOrgDataExchangesRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ListOrgDataExchangesRequest
Auto Trait Implementations§
impl Freeze for ListOrgDataExchangesRequest
impl RefUnwindSafe for ListOrgDataExchangesRequest
impl Send for ListOrgDataExchangesRequest
impl Sync for ListOrgDataExchangesRequest
impl Unpin for ListOrgDataExchangesRequest
impl UnwindSafe for ListOrgDataExchangesRequest
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