#[non_exhaustive]pub struct ListDestinationsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
pub return_partial_success: bool,
/* private fields */
}Expand description
Request message to list Destination resources.
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 name of the parent resource.
page_size: i32Optional. The maximum number of results listed per page.
page_token: StringOptional. The page token.
filter: StringOptional. An expression that filters the results listed in the response.
order_by: StringOptional. The sort order of the results.
return_partial_success: boolOptional. If true, allow partial responses for multi-regional aggregated
list requests.
Implementations§
Source§impl ListDestinationsRequest
impl ListDestinationsRequest
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
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
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.
§Example
ⓘ
let x = ListDestinationsRequest::new().set_page_token("example");Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_return_partial_success<T: Into<bool>>(self, v: T) -> Self
pub fn set_return_partial_success<T: Into<bool>>(self, v: T) -> Self
Sets the value of return_partial_success.
§Example
ⓘ
let x = ListDestinationsRequest::new().set_return_partial_success(true);Trait Implementations§
Source§impl Clone for ListDestinationsRequest
impl Clone for ListDestinationsRequest
Source§fn clone(&self) -> ListDestinationsRequest
fn clone(&self) -> ListDestinationsRequest
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 ListDestinationsRequest
impl Debug for ListDestinationsRequest
Source§impl Default for ListDestinationsRequest
impl Default for ListDestinationsRequest
Source§fn default() -> ListDestinationsRequest
fn default() -> ListDestinationsRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListDestinationsRequest
impl Message for ListDestinationsRequest
Source§impl PartialEq for ListDestinationsRequest
impl PartialEq for ListDestinationsRequest
impl StructuralPartialEq for ListDestinationsRequest
Auto Trait Implementations§
impl Freeze for ListDestinationsRequest
impl RefUnwindSafe for ListDestinationsRequest
impl Send for ListDestinationsRequest
impl Sync for ListDestinationsRequest
impl Unpin for ListDestinationsRequest
impl UnsafeUnpin for ListDestinationsRequest
impl UnwindSafe for ListDestinationsRequest
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