Struct prom::Desc
[−]
[src]
pub struct Desc { pub fq_name: String, pub help: String, pub const_label_pairs: Vec<LabelPair>, pub variable_labels: Vec<String>, pub id: u64, pub dim_hash: u64, }
Fields
fq_name: String
help: String
const_label_pairs: Vec<LabelPair>
variable_labels: Vec<String>
id: u64
dim_hash: u64
Methods
impl Desc
[src]
fn new(
fq_name: String,
help: String,
variable_labels: Vec<String>,
const_labels: HashMap<String, String>
) -> Result<Desc>
fq_name: String,
help: String,
variable_labels: Vec<String>,
const_labels: HashMap<String, String>
) -> Result<Desc>
Trait Implementations
impl Clone for Desc
[src]
fn clone(&self) -> Desc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more