#[repr(i32)]pub enum SlotKind {
SlotReferenceGenome = 0,
SlotGeneAnnotations = 1,
SlotSnpIndelCalls = 2,
SlotVariantCatalog = 3,
}Expand description
SlotKind identifies a slot slot on the device. Each value corresponds to a unique data type that the device can store and manage.
Variants§
SlotReferenceGenome = 0
Human reference genome assembly
SlotGeneAnnotations = 1
Gene-to-coordinate mapping database
SlotSnpIndelCalls = 2
User’s SNP/indel variant calls
SlotVariantCatalog = 3
Variant catalog (rsID-to-position), from dbSNP
Implementations§
Source§impl SlotKind
impl SlotKind
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
impl Copy for SlotKind
impl Eq for SlotKind
Source§impl Ord for SlotKind
impl Ord for SlotKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SlotKind
impl PartialOrd for SlotKind
impl StructuralPartialEq for SlotKind
Auto Trait Implementations§
impl Freeze for SlotKind
impl RefUnwindSafe for SlotKind
impl Send for SlotKind
impl Sync for SlotKind
impl Unpin for SlotKind
impl UnsafeUnpin for SlotKind
impl UnwindSafe for SlotKind
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