Struct pdbtbx::DatabaseReference[][src]

pub struct DatabaseReference {
    pub database: (String, String, String),
    pub pdb_position: SequencePosition,
    pub database_position: SequencePosition,
    pub differences: Vec<SequenceDifference>,
}

A DatabaseReference containing the cross-reference to a corresponding database sequence for a Chain.

Fields

database: (String, String, String)

The information about the database, (name, accession code, identification code), see DBREF documentation wwPDB v3.30

pdb_position: SequencePosition

The position of the sequence as present in the PDB

database_position: SequencePosition

The position of the sequence as present in the database

differences: Vec<SequenceDifference>

The differences between residues in the database and in the pdb file

Implementations

impl DatabaseReference[src]

pub fn new(
    database: (String, String, String),
    pdb_position: SequencePosition,
    database_position: SequencePosition
) -> Self
[src]

Create a new DatabaseReference

Trait Implementations

impl Clone for DatabaseReference[src]

impl Debug for DatabaseReference[src]

impl Eq for DatabaseReference[src]

impl Ord for DatabaseReference[src]

impl PartialEq<DatabaseReference> for DatabaseReference[src]

impl PartialOrd<DatabaseReference> for DatabaseReference[src]

impl StructuralEq for DatabaseReference[src]

impl StructuralPartialEq for DatabaseReference[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.