[][src]Struct ring_api::requests::submit::SubmitId

pub struct SubmitId {
    pub pdb_id: String,
    pub settings: Settings,
}

Submitting a RING job based on a known PDB ID.

Fields

pdb_id: String

The PDB ID of the protein to be RING'd.

settings: Settings

The settings with which to perform the job.

Methods

impl SubmitId[src]

pub fn with_pdb_id<T: Into<String>>(pdb_id: T) -> Self[src]

Convenience constructor. Creates a submit ID request with the default settings.

Trait Implementations

impl Request for SubmitId[src]

type Body = Self

The type of the body for this request. TODO(H2CO3): default to ().

type Response = SubmitResponse

The "return type" of the request.

fn headers(&self) -> HeaderMap[src]

Additional headers for this request.

impl Clone for SubmitId[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<SubmitId> for SubmitId[src]

impl Debug for SubmitId[src]

impl Serialize for SubmitId[src]

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

Auto Trait Implementations

Blanket Implementations

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.

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

impl<T> BorrowMut<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