pub struct JsonSketch {
pub name: String,
pub seq_length: Option<u64>,
pub num_valid_kmers: Option<u64>,
pub comment: Option<String>,
pub filters: Option<HashMap<String, String>>,
pub hashes: Vec<KmerCount>,
}Fields§
§name: String§seq_length: Option<u64>§num_valid_kmers: Option<u64>§comment: Option<String>§filters: Option<HashMap<String, String>>§hashes: Vec<KmerCount>Implementations§
Trait Implementations§
Source§impl Clone for JsonSketch
impl Clone for JsonSketch
Source§fn clone(&self) -> JsonSketch
fn clone(&self) -> JsonSketch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonSketch
impl Debug for JsonSketch
Source§impl<'de> Deserialize<'de> for JsonSketch
impl<'de> Deserialize<'de> for JsonSketch
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 Into<JsonSketch> for Sketch
impl Into<JsonSketch> for Sketch
Source§fn into(self) -> JsonSketch
fn into(self) -> JsonSketch
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for JsonSketch
impl PartialEq for JsonSketch
Source§impl Serialize for JsonSketch
impl Serialize for JsonSketch
impl Eq for JsonSketch
impl StructuralPartialEq for JsonSketch
Auto Trait Implementations§
impl Freeze for JsonSketch
impl RefUnwindSafe for JsonSketch
impl Send for JsonSketch
impl Sync for JsonSketch
impl Unpin for JsonSketch
impl UnwindSafe for JsonSketch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more