#[non_exhaustive]pub struct QueryHubStatusRequest {
pub name: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
pub group_by: String,
/* private fields */
}Expand description
The request for HubService.QueryHubStatus.
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.name: StringRequired. The name of the hub.
page_size: i32Optional. The maximum number of results to return per page.
page_token: StringOptional. The page token.
filter: StringOptional. An expression that filters the list of results. The filter can be used to filter the results by the following fields:
psc_propagation_status.source_spokepsc_propagation_status.source_grouppsc_propagation_status.source_forwarding_rulepsc_propagation_status.target_spokepsc_propagation_status.target_grouppsc_propagation_status.codepsc_propagation_status.message
order_by: StringOptional. Sort the results in ascending order by the specified fields. A comma-separated list of any of these fields:
psc_propagation_status.source_spokepsc_propagation_status.source_grouppsc_propagation_status.source_forwarding_rulepsc_propagation_status.target_spokepsc_propagation_status.target_grouppsc_propagation_status.codeIfgroup_byis set, the value of theorder_byfield must be the same as or a subset of thegroup_byfield.
group_by: StringOptional. Aggregate the results by the specified fields. A comma-separated list of any of these fields:
psc_propagation_status.source_spokepsc_propagation_status.source_grouppsc_propagation_status.source_forwarding_rulepsc_propagation_status.target_spokepsc_propagation_status.target_grouppsc_propagation_status.code
Implementations§
Source§impl QueryHubStatusRequest
impl QueryHubStatusRequest
pub fn new() -> 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
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.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sets the value of order_by.
Sourcepub fn set_group_by<T: Into<String>>(self, v: T) -> Self
pub fn set_group_by<T: Into<String>>(self, v: T) -> Self
Sets the value of group_by.
Trait Implementations§
Source§impl Clone for QueryHubStatusRequest
impl Clone for QueryHubStatusRequest
Source§fn clone(&self) -> QueryHubStatusRequest
fn clone(&self) -> QueryHubStatusRequest
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 QueryHubStatusRequest
impl Debug for QueryHubStatusRequest
Source§impl Default for QueryHubStatusRequest
impl Default for QueryHubStatusRequest
Source§fn default() -> QueryHubStatusRequest
fn default() -> QueryHubStatusRequest
Returns the “default value” for a type. Read more
Source§impl Message for QueryHubStatusRequest
impl Message for QueryHubStatusRequest
Source§impl PartialEq for QueryHubStatusRequest
impl PartialEq for QueryHubStatusRequest
impl StructuralPartialEq for QueryHubStatusRequest
Auto Trait Implementations§
impl Freeze for QueryHubStatusRequest
impl RefUnwindSafe for QueryHubStatusRequest
impl Send for QueryHubStatusRequest
impl Sync for QueryHubStatusRequest
impl Unpin for QueryHubStatusRequest
impl UnwindSafe for QueryHubStatusRequest
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