pub enum ProteinEdit {
Unknown,
NoChange,
Substitution {
to: String,
},
Deletion,
Duplication,
Repeat {
count: usize,
},
Extension(ProteinExtensionEdit),
Frameshift {
to_residue: Option<String>,
stop: ProteinFrameshiftStop,
},
Insertion {
sequence: ProteinSequence,
},
DeletionInsertion {
sequence: ProteinSequence,
},
}Expand description
Supported protein edit families in the first release.
Variants§
Unknown
NoChange
Substitution
Deletion
Duplication
Repeat
Top-level repeated sequence such as p.Ala2[10] or
p.Arg65_Ser67[12].
Extension(ProteinExtensionEdit)
Protein extension such as p.Met1ext-5 or p.Ter110GlnextTer17.
Frameshift
Protein frameshift such as p.Arg97fs or p.Arg97ProfsTer23.
Insertion
Fields
§
sequence: ProteinSequenceDeletionInsertion
Fields
§
sequence: ProteinSequenceTrait Implementations§
Source§impl Clone for ProteinEdit
impl Clone for ProteinEdit
Source§fn clone(&self) -> ProteinEdit
fn clone(&self) -> ProteinEdit
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 moreSource§impl Debug for ProteinEdit
impl Debug for ProteinEdit
Source§impl PartialEq for ProteinEdit
impl PartialEq for ProteinEdit
impl Eq for ProteinEdit
impl StructuralPartialEq for ProteinEdit
Auto Trait Implementations§
impl Freeze for ProteinEdit
impl RefUnwindSafe for ProteinEdit
impl Send for ProteinEdit
impl Sync for ProteinEdit
impl Unpin for ProteinEdit
impl UnsafeUnpin for ProteinEdit
impl UnwindSafe for ProteinEdit
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