Struct mackerel_plugin::Graph
source · pub struct Graph {
pub name: String,
pub label: String,
pub unit: Unit,
pub metrics: Vec<Metric>,
}
Expand description
A graph represents a Mackerel graph schema.
Fields§
§name: String
§label: String
§unit: Unit
§metrics: Vec<Metric>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Graph
impl<'de> Deserialize<'de> for Graph
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 Graph
impl PartialEq for Graph
impl StructuralPartialEq for Graph
Auto Trait Implementations§
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnwindSafe for Graph
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