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§
Source§impl Clone for FieldSchema
impl Clone for FieldSchema
Source§impl Debug for FieldSchema
impl Debug for FieldSchema
Source§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