Enum google_api_proto::google::genomics::v1::InfoMergeOperation
source · #[repr(i32)]pub enum InfoMergeOperation {
Unspecified = 0,
IgnoreNew = 1,
MoveToCalls = 2,
}
Expand description
Operations to be performed during import on Variant info fields. These operations are set for each info field in the info_merge_config map of ImportVariantsRequest, which is plumbed down to the MergeVariantRequests generated by the import job.
Variants§
Unspecified = 0
IgnoreNew = 1
By default, Variant info fields are persisted if the Variant doesn’t already exist in the variantset. If the Variant is equivalent to a Variant already in the variantset, the incoming Variant’s info field is ignored in favor of that of the already persisted Variant.
MoveToCalls = 2
This operation removes an info field from the incoming Variant and persists this info field in each of the incoming Variant’s Calls.
Implementations§
source§impl InfoMergeOperation
impl InfoMergeOperation
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 InfoMergeOperation
impl Clone for InfoMergeOperation
source§fn clone(&self) -> InfoMergeOperation
fn clone(&self) -> InfoMergeOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InfoMergeOperation
impl Debug for InfoMergeOperation
source§impl Default for InfoMergeOperation
impl Default for InfoMergeOperation
source§fn default() -> InfoMergeOperation
fn default() -> InfoMergeOperation
source§impl From<InfoMergeOperation> for i32
impl From<InfoMergeOperation> for i32
source§fn from(value: InfoMergeOperation) -> i32
fn from(value: InfoMergeOperation) -> i32
source§impl Hash for InfoMergeOperation
impl Hash for InfoMergeOperation
source§impl Ord for InfoMergeOperation
impl Ord for InfoMergeOperation
source§fn cmp(&self, other: &InfoMergeOperation) -> Ordering
fn cmp(&self, other: &InfoMergeOperation) -> 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 InfoMergeOperation
impl PartialEq for InfoMergeOperation
source§fn eq(&self, other: &InfoMergeOperation) -> bool
fn eq(&self, other: &InfoMergeOperation) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InfoMergeOperation
impl PartialOrd for InfoMergeOperation
source§fn partial_cmp(&self, other: &InfoMergeOperation) -> Option<Ordering>
fn partial_cmp(&self, other: &InfoMergeOperation) -> 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 InfoMergeOperation
impl TryFrom<i32> for InfoMergeOperation
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<InfoMergeOperation, UnknownEnumValue>
fn try_from(value: i32) -> Result<InfoMergeOperation, UnknownEnumValue>
impl Copy for InfoMergeOperation
impl Eq for InfoMergeOperation
impl StructuralPartialEq for InfoMergeOperation
Auto Trait Implementations§
impl Freeze for InfoMergeOperation
impl RefUnwindSafe for InfoMergeOperation
impl Send for InfoMergeOperation
impl Sync for InfoMergeOperation
impl Unpin for InfoMergeOperation
impl UnwindSafe for InfoMergeOperation
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