Enum ckb_metrics_config::Format [−][src]
pub enum Format { Json { pretty: bool, }, Yaml, Prometheus, }
Expand description
Records the metrics data in which format.
Variants
JSON format.
Show fields
Fields of Json
pretty: bool
Sets whether or not to render the JSON as “pretty.”
YAML format.
Prometheus exposition format.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Format
impl UnwindSafe for Format
Blanket Implementations
Mutably borrows from an owned value. Read more