pub struct Meta {Show 14 fields
pub pitch_mm: Option<f32>,
pub status: Status,
pub origin: Origin,
pub sources: u32,
pub agreement: Option<f32>,
pub examples: Vec<String>,
pub vendors: Vec<String>,
pub notes: Option<String>,
pub maker: Option<String>,
pub product: Option<String>,
pub url: Option<String>,
pub datasheet: Option<String>,
pub image: Option<String>,
pub image_source: Option<String>,
}Expand description
The [meta] table: provenance and trust. Every field has a default, so
a spec without the table is a mined one no file agreed with yet.
Fields§
§pitch_mm: Option<f32>Pixel pitch in millimetres, when the spec describes one physical module.
status: Status§origin: Origin§sources: u32Vendor files the values were taken from.
agreement: Option<f32>Share (0..1) of the files for this module class that agree with the values; absent when nothing was counted.
examples: Vec<String>A few of the source files by name.
vendors: Vec<String>Control-system vendors whose config files the sources are (the format the values were mined from), not who makes the panel.
notes: Option<String>§maker: Option<String>Who makes the panel.
product: Option<String>The maker’s model name.
url: Option<String>Product page.
datasheet: Option<String>Specification sheet.
image: Option<String>Photo.
image_source: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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