Struct pdbtbx::SequenceDifference[][src]

pub struct SequenceDifference {
    pub residue: (String, isize, Option<String>),
    pub database_residue: Option<(String, isize)>,
    pub comment: String,
}

A difference between the sequence of the database and the pdb file

Fields

residue: (String, isize, Option<String>)

The residue in the PDB file

database_residue: Option<(String, isize)>

The residue in the database

comment: String

The comment to explain the difference

Implementations

impl SequenceDifference[src]

pub fn new(
    residue: (String, isize, Option<String>),
    database_residue: Option<(String, isize)>,
    comment: String
) -> Self
[src]

Create a new DatabaseReference

Trait Implementations

impl Clone for SequenceDifference[src]

impl Debug for SequenceDifference[src]

impl Eq for SequenceDifference[src]

impl Ord for SequenceDifference[src]

impl PartialEq<SequenceDifference> for SequenceDifference[src]

impl PartialOrd<SequenceDifference> for SequenceDifference[src]

impl StructuralEq for SequenceDifference[src]

impl StructuralPartialEq for SequenceDifference[src]

Auto Trait Implementations

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.