pub struct CardModel {Show 13 fields
pub name: String,
pub vendor: String,
pub family: String,
pub id: Option<u8>,
pub status: Status,
pub notes: String,
pub image: Option<String>,
pub image_source: Option<String>,
pub datasheet: Option<String>,
pub tested: Vec<Tested>,
pub limits: Limits,
pub memory: Memory,
pub firmware: Firmware,
}Expand description
One receiving card.
Fields§
§name: StringThe name --card takes, matched without regard to case.
vendor: String§family: StringThe protocol family: colorlight is the only one implemented.
id: Option<u8>The card-type byte in the discovery reply. Absent when no card of the
model has been seen and no source states it: by_id then never
returns the model, and a reply carrying an unlisted byte is reported
as an unknown model rather than resolved to some other file.
status: Status§notes: String§image: Option<String>A photo for the web app, relative to web/static (cards/e120.jpg).
image_source: Option<String>Where the photo came from.
datasheet: Option<String>Specification sheet.
tested: Vec<Tested>Panels driven on a bench with this card, one entry per measurement.
limits: Limits§memory: Memory§firmware: FirmwareTrait Implementations§
Source§impl<'de> Deserialize<'de> for CardModel
impl<'de> Deserialize<'de> for CardModel
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
Auto Trait Implementations§
impl Freeze for CardModel
impl RefUnwindSafe for CardModel
impl Send for CardModel
impl Sync for CardModel
impl Unpin for CardModel
impl UnsafeUnpin for CardModel
impl UnwindSafe for CardModel
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