#[non_exhaustive]pub struct ListHotTabletsResponse {
pub hot_tablets: Vec<HotTablet>,
pub next_page_token: String,
/* private fields */
}Expand description
Response message for BigtableInstanceAdmin.ListHotTablets.
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.hot_tablets: Vec<HotTablet>List of hot tablets in the tables of the requested cluster that fall within the requested time range. Hot tablets are ordered by node cpu usage percent. If there are multiple hot tablets that correspond to the same tablet within a 15-minute interval, only the hot tablet with the highest node cpu usage will be included in the response.
next_page_token: StringSet if not all hot tablets could be returned in a single response.
Pass this value to page_token in another request to get the next
page of results.
Implementations§
Source§impl ListHotTabletsResponse
impl ListHotTabletsResponse
pub fn new() -> Self
Sourcepub fn set_hot_tablets<T, V>(self, v: T) -> Self
pub fn set_hot_tablets<T, V>(self, v: T) -> Self
Sets the value of hot_tablets.
§Example
ⓘ
use google_cloud_bigtable_admin_v2::model::HotTablet;
let x = ListHotTabletsResponse::new()
.set_hot_tablets([
HotTablet::default()/* use setters */,
HotTablet::default()/* use (different) setters */,
]);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.
§Example
ⓘ
let x = ListHotTabletsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListHotTabletsResponse
impl Clone for ListHotTabletsResponse
Source§fn clone(&self) -> ListHotTabletsResponse
fn clone(&self) -> ListHotTabletsResponse
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 ListHotTabletsResponse
impl Debug for ListHotTabletsResponse
Source§impl Default for ListHotTabletsResponse
impl Default for ListHotTabletsResponse
Source§fn default() -> ListHotTabletsResponse
fn default() -> ListHotTabletsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListHotTabletsResponse
impl Message for ListHotTabletsResponse
Source§impl PartialEq for ListHotTabletsResponse
impl PartialEq for ListHotTabletsResponse
impl StructuralPartialEq for ListHotTabletsResponse
Auto Trait Implementations§
impl Freeze for ListHotTabletsResponse
impl RefUnwindSafe for ListHotTabletsResponse
impl Send for ListHotTabletsResponse
impl Sync for ListHotTabletsResponse
impl Unpin for ListHotTabletsResponse
impl UnwindSafe for ListHotTabletsResponse
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