Struct warp10::Data [−][src]
pub struct Data { /* fields omitted */ }
Methods
impl Data
[src]
impl Data
pub fn new(
date: Timespec,
geo: Option<GeoValue>,
name: String,
labels: Vec<Label>,
value: Value
) -> Data
[src]
pub fn new(
date: Timespec,
geo: Option<GeoValue>,
name: String,
labels: Vec<Label>,
value: Value
) -> Data
Trait Implementations
impl Debug for Data
[src]
impl Debug for Data
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Data
[src]
impl Clone for Data
fn clone(&self) -> Data
[src]
fn clone(&self) -> Data
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Data
[src]
impl PartialEq for Data
fn eq(&self, other: &Data) -> bool
[src]
fn eq(&self, other: &Data) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Data) -> bool
[src]
fn ne(&self, other: &Data) -> bool
This method tests for !=
.
impl Warp10Serializable for Data
[src]
impl Warp10Serializable for Data
fn warp10_serialize(&self) -> String
[src]
fn warp10_serialize(&self) -> String