Struct FieldSchema
pub struct FieldSchema {
pub name: String,
pub ty: FieldType,
pub quantise: Option<f64>,
pub range: Option<(f64, f64)>,
pub predictor: Option<PredictorSpec>,
pub tolerance: Option<ToleranceSpec>,
pub refresh: Option<u32>,
pub reset: Option<u32>,
pub max_len: Option<u16>,
}Expand description
One field of a message, in wire order.
Fields§
§name: String§ty: FieldType§quantise: Option<f64>§range: Option<(f64, f64)>§predictor: Option<PredictorSpec>§tolerance: Option<ToleranceSpec>§refresh: Option<u32>§reset: Option<u32>§max_len: Option<u16>Trait Implementations§
§impl Clone for FieldSchema
impl Clone for FieldSchema
§fn clone(&self) -> FieldSchema
fn clone(&self) -> FieldSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FieldSchema
impl Debug for FieldSchema
§impl PartialEq for FieldSchema
impl PartialEq for FieldSchema
impl StructuralPartialEq for FieldSchema
Auto Trait Implementations§
impl Freeze for FieldSchema
impl RefUnwindSafe for FieldSchema
impl Send for FieldSchema
impl Sync for FieldSchema
impl Unpin for FieldSchema
impl UnsafeUnpin for FieldSchema
impl UnwindSafe for FieldSchema
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