pub struct StringNetworkArgs {
pub identifiers: Vec<String>,
pub species: usize,
pub required_score: Option<f64>,
pub network_type: StringNetworkType,
pub add_nodes: Option<usize>,
pub show_query_node_labels: bool,
pub caller_identity: String,
}Expand description
Retrieves the network interactions for your input protein(s) in various text based formats
Fields§
§identifiers: Vec<String>List of genes to retrieve network for
species: usizeSpecies to retrieve network for (NCBI taxonomy ID)
required_score: Option<f64>threshold of significance to include a interaction, a number between 0 and 1000 (default depends on the network)
network_type: StringNetworkTypeThe type of network to retrieve
add_nodes: Option<usize>adds a number of proteins with to the network based on their confidence score
show_query_node_labels: boolwhen available use submitted names in the preferredName column when true
caller_identity: Stringidentifier of the caller to provide to the server
Implementations§
Source§impl StringNetworkArgs
impl StringNetworkArgs
Sourcepub fn builder() -> StringNetworkArgsBuilder
pub fn builder() -> StringNetworkArgsBuilder
Create an instance of StringNetworkArgs using the builder syntax
Source§impl StringNetworkArgs
impl StringNetworkArgs
pub fn build_post(&self) -> Value
Trait Implementations§
Source§impl Args for StringNetworkArgs
impl Args for StringNetworkArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for StringNetworkArgs
impl Clone for StringNetworkArgs
Source§fn clone(&self) -> StringNetworkArgs
fn clone(&self) -> StringNetworkArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandFactory for StringNetworkArgs
impl CommandFactory for StringNetworkArgs
Source§impl Debug for StringNetworkArgs
impl Debug for StringNetworkArgs
Source§impl FromArgMatches for StringNetworkArgs
impl FromArgMatches for StringNetworkArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for StringNetworkArgs
impl Parser for StringNetworkArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for StringNetworkArgs
impl RefUnwindSafe for StringNetworkArgs
impl Send for StringNetworkArgs
impl Sync for StringNetworkArgs
impl Unpin for StringNetworkArgs
impl UnsafeUnpin for StringNetworkArgs
impl UnwindSafe for StringNetworkArgs
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more