pub struct Sample {
pub sample_id: String,
pub barcode: String,
/* private fields */
}Expand description
Struct for describing a single sample and metadata associated with that sample.
Fields§
§sample_id: StringID of the sample or library
barcode: StringDNA barcode associated with the sample
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Sample
impl<'de> Deserialize<'de> for Sample
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
source§impl PartialEq<Sample> for Sample
impl PartialEq<Sample> for Sample
impl Eq for Sample
impl StructuralEq for Sample
impl StructuralPartialEq for Sample
Auto Trait Implementations§
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnwindSafe for Sample
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