Struct pdbtbx::SequenceDifference
source · pub struct SequenceDifference {
pub residue: (String, isize, Option<String>),
pub database_residue: Option<(String, isize)>,
pub comment: String,
}
Expand description
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§
Trait Implementations§
source§impl Clone for SequenceDifference
impl Clone for SequenceDifference
source§fn clone(&self) -> SequenceDifference
fn clone(&self) -> SequenceDifference
Returns a copy 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 SequenceDifference
impl Debug for SequenceDifference
source§impl<'de> Deserialize<'de> for SequenceDifference
impl<'de> Deserialize<'de> for SequenceDifference
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for SequenceDifference
impl Ord for SequenceDifference
source§fn cmp(&self, other: &SequenceDifference) -> Ordering
fn cmp(&self, other: &SequenceDifference) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SequenceDifference> for SequenceDifference
impl PartialEq<SequenceDifference> for SequenceDifference
source§fn eq(&self, other: &SequenceDifference) -> bool
fn eq(&self, other: &SequenceDifference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SequenceDifference> for SequenceDifference
impl PartialOrd<SequenceDifference> for SequenceDifference
source§fn partial_cmp(&self, other: &SequenceDifference) -> Option<Ordering>
fn partial_cmp(&self, other: &SequenceDifference) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for SequenceDifference
impl Serialize for SequenceDifference
impl Eq for SequenceDifference
impl StructuralEq for SequenceDifference
impl StructuralPartialEq for SequenceDifference
Auto Trait Implementations§
impl RefUnwindSafe for SequenceDifference
impl Send for SequenceDifference
impl Sync for SequenceDifference
impl Unpin for SequenceDifference
impl UnwindSafe for SequenceDifference
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.