Enum gapi_grpc::google::genomics::v1::variant_annotation::Effect[][src]

#[repr(i32)]pub enum Effect {
    Unspecified,
    Other,
    Frameshift,
    FramePreservingIndel,
    SynonymousSnp,
    NonsynonymousSnp,
    StopGain,
    StopLoss,
    SpliceSiteDisruption,
}

Variants

Unspecified
Other

EFFECT_OTHER should be used when no other Effect will suffice.

Frameshift

FRAMESHIFT indicates a mutation in which the insertion or deletion of nucleotides resulted in a frameshift change.

FramePreservingIndel

FRAME_PRESERVING_INDEL indicates a mutation in which a multiple of three nucleotides has been inserted or deleted, resulting in no change to the reading frame of the coding sequence.

SynonymousSnp

SYNONYMOUS_SNP indicates a single nucleotide polymorphism mutation that results in no amino acid change.

NonsynonymousSnp

NONSYNONYMOUS_SNP indicates a single nucleotide polymorphism mutation that results in an amino acid change.

StopGain

STOP_GAIN indicates a mutation that leads to the creation of a stop codon at the variant site. Frameshift mutations creating downstream stop codons do not count as STOP_GAIN.

StopLoss

STOP_LOSS indicates a mutation that eliminates a stop codon at the variant site.

SpliceSiteDisruption

SPLICE_SITE_DISRUPTION indicates that this variant is found in a splice site for the associated transcript, and alters the normal splicing pattern.

Implementations

impl Effect[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Effect.

pub fn from_i32(value: i32) -> Option<Effect>[src]

Converts an i32 to a Effect, or None if value is not a valid variant.

Trait Implementations

impl Clone for Effect[src]

impl Copy for Effect[src]

impl Debug for Effect[src]

impl Default for Effect[src]

impl Eq for Effect[src]

impl From<Effect> for i32[src]

impl Hash for Effect[src]

impl Ord for Effect[src]

impl PartialEq<Effect> for Effect[src]

impl PartialOrd<Effect> for Effect[src]

impl StructuralEq for Effect[src]

impl StructuralPartialEq for Effect[src]

Auto Trait Implementations

impl RefUnwindSafe for Effect

impl Send for Effect

impl Sync for Effect

impl Unpin for Effect

impl UnwindSafe for Effect

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]