#[non_exhaustive]pub struct ListUptimeCheckConfigsResponse {
pub uptime_check_configs: Vec<UptimeCheckConfig>,
pub next_page_token: String,
pub total_size: i32,
}Expand description
The protocol for the ListUptimeCheckConfigs response.
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.uptime_check_configs: Vec<UptimeCheckConfig>The returned Uptime check configurations.
next_page_token: StringThis field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message’s page_token field).
total_size: i32The total number of Uptime check configurations for the project, irrespective of any pagination.
Implementations§
Source§impl ListUptimeCheckConfigsResponse
impl ListUptimeCheckConfigsResponse
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Sourcepub fn set_total_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_total_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of total_size.
Sourcepub fn set_uptime_check_configs<T, V>(self, v: T) -> Self
pub fn set_uptime_check_configs<T, V>(self, v: T) -> Self
Sets the value of uptime_check_configs.
Trait Implementations§
Source§impl Clone for ListUptimeCheckConfigsResponse
impl Clone for ListUptimeCheckConfigsResponse
Source§fn clone(&self) -> ListUptimeCheckConfigsResponse
fn clone(&self) -> ListUptimeCheckConfigsResponse
Returns a copy 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 Default for ListUptimeCheckConfigsResponse
impl Default for ListUptimeCheckConfigsResponse
Source§fn default() -> ListUptimeCheckConfigsResponse
fn default() -> ListUptimeCheckConfigsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListUptimeCheckConfigsResponse
impl<'de> Deserialize<'de> for ListUptimeCheckConfigsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ListUptimeCheckConfigsResponse
impl PartialEq for ListUptimeCheckConfigsResponse
Source§fn eq(&self, other: &ListUptimeCheckConfigsResponse) -> bool
fn eq(&self, other: &ListUptimeCheckConfigsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListUptimeCheckConfigsResponse
Auto Trait Implementations§
impl Freeze for ListUptimeCheckConfigsResponse
impl RefUnwindSafe for ListUptimeCheckConfigsResponse
impl Send for ListUptimeCheckConfigsResponse
impl Sync for ListUptimeCheckConfigsResponse
impl Unpin for ListUptimeCheckConfigsResponse
impl UnwindSafe for ListUptimeCheckConfigsResponse
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