[][src]Struct ring_api::requests::result::Node

pub struct Node {
    pub node_id: NodeId,
    pub chain_id: char,
    pub position: isize,
    pub residue: Residue,
    pub x: f64,
    pub y: f64,
    pub z: f64,
    pub dssp_structure: DsspStructure,
    pub degree: usize,
    pub accessibility: f64,
    pub bfactor_ca: f64,
    pub tap_energy: Option<f64>,
    pub rapdf_energy: Option<f64>,
    pub pdb_file_name: String,
    pub entropy: Option<f64>,
    pub cumul_mutual_entropy: Option<f64>,
}

A node in the interaction graph.

Fields

node_id: NodeId

The unique ID of this node.

chain_id: char

The name/ID of the chain this residue belongs in.

position: isize

The position of the residue inside the sequence, according to PDB. NOTE: this sometimes is 0 or a negative integer.

residue: Residue

The amino acid that this node represents.

x: f64

X coordinate.

y: f64

Y coordinate.

z: f64

Z coordinate.

dssp_structure: DsspStructure

Secondary structure, as predicted by DSSP.

degree: usize

The degree of, i.e. the number of edges from and to, this node.

accessibility: f64

Relative solvent accessibility (RSA).

bfactor_ca: f64

The B-factor of the alpha carbon.

tap_energy: Option<f64>

The TAP energy.

rapdf_energy: Option<f64>

The RAPDF energy (calculated based on statistical potentials).

pdb_file_name: String

Only for letting RINanylezer/StructureViz and Chimera love each other.

entropy: Option<f64>

Shannon entropy computed from a multiple alignment (MSA=true).

cumul_mutual_entropy: Option<f64>

Cumulative mutual entropy. Yes, it's incorrectly called "comulative" in the JSON returned by the API.

Trait Implementations

impl PartialEq<Node> for Node[src]

impl Clone for Node[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Node[src]

impl Serialize for Node[src]

impl<'de> Deserialize<'de> for Node[src]

Auto Trait Implementations

impl Send for Node

impl Unpin for Node

impl Sync for Node

impl UnwindSafe for Node

impl RefUnwindSafe for Node

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err