Enum google_api_proto::google::genomics::v1::import_read_group_sets_request::PartitionStrategy
source · #[repr(i32)]pub enum PartitionStrategy {
Unspecified = 0,
PerFilePerSample = 1,
MergeAll = 2,
}
Variants§
Unspecified = 0
PerFilePerSample = 1
In most cases, this strategy yields one read group set per file. This is the default behavior.
Allocate one read group set per file per sample. For BAM files, read groups are considered to share a sample if they have identical sample names. Furthermore, all reads for each file which do not belong to a read group, if any, will be grouped into a single read group set per-file.
MergeAll = 2
Includes all read groups in all imported files into a single read group set. Requires that the headers for all imported files are equivalent. All reads which do not belong to a read group, if any, will be grouped into a separate read group set.
Implementations§
source§impl PartitionStrategy
impl PartitionStrategy
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§
source§impl Clone for PartitionStrategy
impl Clone for PartitionStrategy
source§fn clone(&self) -> PartitionStrategy
fn clone(&self) -> PartitionStrategy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PartitionStrategy
impl Debug for PartitionStrategy
source§impl Default for PartitionStrategy
impl Default for PartitionStrategy
source§fn default() -> PartitionStrategy
fn default() -> PartitionStrategy
source§impl From<PartitionStrategy> for i32
impl From<PartitionStrategy> for i32
source§fn from(value: PartitionStrategy) -> i32
fn from(value: PartitionStrategy) -> i32
source§impl Hash for PartitionStrategy
impl Hash for PartitionStrategy
source§impl Ord for PartitionStrategy
impl Ord for PartitionStrategy
source§fn cmp(&self, other: &PartitionStrategy) -> Ordering
fn cmp(&self, other: &PartitionStrategy) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for PartitionStrategy
impl PartialEq for PartitionStrategy
source§fn eq(&self, other: &PartitionStrategy) -> bool
fn eq(&self, other: &PartitionStrategy) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PartitionStrategy
impl PartialOrd for PartitionStrategy
source§fn partial_cmp(&self, other: &PartitionStrategy) -> Option<Ordering>
fn partial_cmp(&self, other: &PartitionStrategy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for PartitionStrategy
impl TryFrom<i32> for PartitionStrategy
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<PartitionStrategy, UnknownEnumValue>
fn try_from(value: i32) -> Result<PartitionStrategy, UnknownEnumValue>
impl Copy for PartitionStrategy
impl Eq for PartitionStrategy
impl StructuralPartialEq for PartitionStrategy
Auto Trait Implementations§
impl Freeze for PartitionStrategy
impl RefUnwindSafe for PartitionStrategy
impl Send for PartitionStrategy
impl Sync for PartitionStrategy
impl Unpin for PartitionStrategy
impl UnwindSafe for PartitionStrategy
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request