pub struct ClusterMetricsGetServerResponse {
pub data: Value,
pub total: Option<i32>,
pub changes: Option<Value>,
}Fields§
§data: Value§total: Option<i32>Optional total count, present for paginated list responses.
changes: Option<Value>Optional change summary returned by some PUT operations (one entry per modified field).
Implementations§
Source§impl ClusterMetricsGetServerResponse
impl ClusterMetricsGetServerResponse
pub fn new(data: Value) -> ClusterMetricsGetServerResponse
Trait Implementations§
Source§impl Clone for ClusterMetricsGetServerResponse
impl Clone for ClusterMetricsGetServerResponse
Source§fn clone(&self) -> ClusterMetricsGetServerResponse
fn clone(&self) -> ClusterMetricsGetServerResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClusterMetricsGetServerResponse
impl Default for ClusterMetricsGetServerResponse
Source§fn default() -> ClusterMetricsGetServerResponse
fn default() -> ClusterMetricsGetServerResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterMetricsGetServerResponse
impl<'de> Deserialize<'de> for ClusterMetricsGetServerResponse
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 ClusterMetricsGetServerResponse
impl PartialEq for ClusterMetricsGetServerResponse
Source§fn eq(&self, other: &ClusterMetricsGetServerResponse) -> bool
fn eq(&self, other: &ClusterMetricsGetServerResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterMetricsGetServerResponse
Auto Trait Implementations§
impl Freeze for ClusterMetricsGetServerResponse
impl RefUnwindSafe for ClusterMetricsGetServerResponse
impl Send for ClusterMetricsGetServerResponse
impl Sync for ClusterMetricsGetServerResponse
impl Unpin for ClusterMetricsGetServerResponse
impl UnsafeUnpin for ClusterMetricsGetServerResponse
impl UnwindSafe for ClusterMetricsGetServerResponse
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