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