pub struct VariantEffect {
pub gene_id: String,
pub gene_name: String,
pub transcript_id: String,
pub consequence: Consequence,
pub hgvs_c: Option<String>,
pub hgvs_p: Option<String>,
pub codon_change: Option<(String, String)>,
pub cds_position: Option<u64>,
pub protein_position: Option<u64>,
pub exon_distance: Option<i64>,
}Expand description
A predicted effect of a variant on a specific transcript.
Fields§
§gene_id: String§gene_name: String§transcript_id: String§consequence: Consequence§hgvs_c: Option<String>HGVS coding notation, e.g. c.1799T>A.
hgvs_p: Option<String>HGVS protein notation, e.g. p.Val600Glu.
codon_change: Option<(String, String)>Reference and alternate codons as strings.
cds_position: Option<u64>1-based position within the CDS.
protein_position: Option<u64>1-based amino acid position within the protein.
exon_distance: Option<i64>Distance to the nearest exon boundary (negative = inside exon).
Trait Implementations§
Source§impl Clone for VariantEffect
impl Clone for VariantEffect
Source§fn clone(&self) -> VariantEffect
fn clone(&self) -> VariantEffect
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 moreAuto Trait Implementations§
impl Freeze for VariantEffect
impl RefUnwindSafe for VariantEffect
impl Send for VariantEffect
impl Sync for VariantEffect
impl Unpin for VariantEffect
impl UnsafeUnpin for VariantEffect
impl UnwindSafe for VariantEffect
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