Struct labware_tracker::labware_collection::LabwareCollection
[−]
[src]
pub struct LabwareCollection { pub items: Vec<Labware>, }
Fields
items: Vec<Labware>
Methods
impl LabwareCollection
[src]
fn new() -> Self
[src]
fn is_empty(&self) -> bool
[src]
fn count(&self) -> usize
[src]
fn add(&mut self, name: &str, timestamp: &str, labware_type: &str)
[src]
fn find(&self, id: u32) -> Option<&Labware>
[src]
fn remove(&mut self, id: u32)
[src]
Trait Implementations
impl Decodable for LabwareCollection
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<LabwareCollection, __D::Error>
[src]
__arg_0: &mut __D
) -> Result<LabwareCollection, __D::Error>
Deserialize a value using a Decoder
.