pub struct StatusGetMetricsResponse {
pub data: Option<Value>,
pub total: Option<i32>,
pub changes: Option<Value>,
}Fields§
§data: Option<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 StatusGetMetricsResponse
impl StatusGetMetricsResponse
pub fn new(data: Option<Value>) -> StatusGetMetricsResponse
Trait Implementations§
Source§impl Clone for StatusGetMetricsResponse
impl Clone for StatusGetMetricsResponse
Source§fn clone(&self) -> StatusGetMetricsResponse
fn clone(&self) -> StatusGetMetricsResponse
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 Debug for StatusGetMetricsResponse
impl Debug for StatusGetMetricsResponse
Source§impl Default for StatusGetMetricsResponse
impl Default for StatusGetMetricsResponse
Source§fn default() -> StatusGetMetricsResponse
fn default() -> StatusGetMetricsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatusGetMetricsResponse
impl<'de> Deserialize<'de> for StatusGetMetricsResponse
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 StatusGetMetricsResponse
impl PartialEq for StatusGetMetricsResponse
Source§fn eq(&self, other: &StatusGetMetricsResponse) -> bool
fn eq(&self, other: &StatusGetMetricsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StatusGetMetricsResponse
impl Serialize for StatusGetMetricsResponse
impl StructuralPartialEq for StatusGetMetricsResponse
Auto Trait Implementations§
impl Freeze for StatusGetMetricsResponse
impl RefUnwindSafe for StatusGetMetricsResponse
impl Send for StatusGetMetricsResponse
impl Sync for StatusGetMetricsResponse
impl Unpin for StatusGetMetricsResponse
impl UnsafeUnpin for StatusGetMetricsResponse
impl UnwindSafe for StatusGetMetricsResponse
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