pub struct MeasurementSchema {
pub measurement: String,
pub data_type: TSDataType,
pub encoding: TSEncoding,
pub compressor: TSCompressionType,
pub properties: Option<Dictionary>,
}
Fields§
§measurement: String
§data_type: TSDataType
§encoding: TSEncoding
§compressor: TSCompressionType
§properties: Option<Dictionary>
Implementations§
Source§impl MeasurementSchema
impl MeasurementSchema
pub fn new( measurement: String, data_type: TSDataType, encoding: TSEncoding, compressor: TSCompressionType, properties: Option<Dictionary>, ) -> Self
Trait Implementations§
Source§impl Clone for MeasurementSchema
impl Clone for MeasurementSchema
Source§fn clone(&self) -> MeasurementSchema
fn clone(&self) -> MeasurementSchema
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MeasurementSchema
impl Debug for MeasurementSchema
Source§impl Hash for MeasurementSchema
impl Hash for MeasurementSchema
Source§impl Ord for MeasurementSchema
impl Ord for MeasurementSchema
Source§fn cmp(&self, other: &MeasurementSchema) -> Ordering
fn cmp(&self, other: &MeasurementSchema) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MeasurementSchema
impl PartialEq for MeasurementSchema
Source§impl PartialOrd for MeasurementSchema
impl PartialOrd for MeasurementSchema
impl Eq for MeasurementSchema
impl StructuralPartialEq for MeasurementSchema
Auto Trait Implementations§
impl Freeze for MeasurementSchema
impl RefUnwindSafe for MeasurementSchema
impl Send for MeasurementSchema
impl Sync for MeasurementSchema
impl Unpin for MeasurementSchema
impl UnwindSafe for MeasurementSchema
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