Struct mmtf::mmtf::Entity [] [src]

pub struct Entity {
    pub chain_index_list: Vec<i32>,
    pub description: String,
    pub _type: String,
    pub sequence: String,
}

Unique molecular entities within the structure.

Each entry in chain_index_list represents an instance of that entity in the structure.

The entries of chain_index_list are indices into the Mmtf.chain_id_list and Mmtf.chain_name_list fields. The sequence string contains the full construct, not just the resolved residues. Its characters are referenced by the entries of the Mmtf.sequence_index_list field. Further, characters follow the IUPAC single letter code for protein or DNA/RNA residues, otherwise the character 'X'.

Fields

Pointers into chain data fields

Description of the entity

Name of the entity type

Note: This field will be renamed to type by serde

Sequence of the full construct in one-letter-code

Trait Implementations

impl Debug for Entity
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Entity

impl Sync for Entity