pub struct GetProjectMetrics {
pub data: Vec<MetricsDatapoint>,
}Expand description
GetProjectMetrics : Response of the getMetrics endpoint
Fields§
§data: Vec<MetricsDatapoint>The list of data points.
Implementations§
Source§impl GetProjectMetrics
impl GetProjectMetrics
Sourcepub fn new(data: Vec<MetricsDatapoint>) -> GetProjectMetrics
pub fn new(data: Vec<MetricsDatapoint>) -> GetProjectMetrics
Response of the getMetrics endpoint
Trait Implementations§
Source§impl Clone for GetProjectMetrics
impl Clone for GetProjectMetrics
Source§fn clone(&self) -> GetProjectMetrics
fn clone(&self) -> GetProjectMetrics
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 GetProjectMetrics
impl Debug for GetProjectMetrics
Source§impl Default for GetProjectMetrics
impl Default for GetProjectMetrics
Source§fn default() -> GetProjectMetrics
fn default() -> GetProjectMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetProjectMetrics
impl<'de> Deserialize<'de> for GetProjectMetrics
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 GetProjectMetrics
impl PartialEq for GetProjectMetrics
Source§impl Serialize for GetProjectMetrics
impl Serialize for GetProjectMetrics
impl StructuralPartialEq for GetProjectMetrics
Auto Trait Implementations§
impl Freeze for GetProjectMetrics
impl RefUnwindSafe for GetProjectMetrics
impl Send for GetProjectMetrics
impl Sync for GetProjectMetrics
impl Unpin for GetProjectMetrics
impl UnwindSafe for GetProjectMetrics
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