pub fn new_root(metadata: &'a Metadata<'a>, values: &'a field::ValueSet<'a>) -> Self {
        Attributes {
            metadata,
            values,
            parent: Parent::Root,
        }
    }
/// Returns `Attributes` describing a new span at the root of its own trace
/// tree, with the provided metadata and values.
Returns `Attributes` describing a new span at the root of its own trace
tree, with the provided metadata and values.
Returns ` Attributes ` describing a new span at the root of its own trace tree with the provided metadata and values .
pub fn new_root(metadata: &'a Metadata<'a>, values: &'a field::ValueSet<'a>) -> Self {
        Attributes {
            metadata,
            values,
            parent: Parent::Root,
        }
    }
pub fn new_root ( metadata : & ' a Metadata < ' a > , values : & ' a field :: ValueSet < ' a > ) -> Self { Attributes { metadata , values , parent : Parent :: Root , } }
Returns `Attributes` describing a new span at the root of its own trace
tree, with the provided metadata and values.
Returns ` Attributes ` describing a new span at the root of its own trace tree with the provided metadata and values .
metadata
&'a Metadata<'a>
values
&'a field::ValueSet<'a>