pub struct FieldBuilder {Show 21 fields
pub all: bool,
pub assembly: bool,
pub bioproject: bool,
pub busco: bool,
pub country_list: bool,
pub cvalues: bool,
pub date: bool,
pub gc_percent: bool,
pub gene_count: bool,
pub gs: bool,
pub karyotype: bool,
pub legislation: bool,
pub mitochondrion: bool,
pub n50: bool,
pub names: bool,
pub plastid: bool,
pub ploidy: bool,
pub sex_determination: bool,
pub status: bool,
pub target_lists: bool,
pub tidy: bool,
}Expand description
Boolean struct containing all of the CLI flag information passed from the user.
Fields
all: boolAdd all of the current GoaT fields.
assembly: boolAdd only assembly level/span GoaT fields.
bioproject: boolAdd bioproject GoaT field.
busco: boolAdd BUSCO completeness.
country_list: boolAdd country list GoaT field.
cvalues: boolAdd C-value information GoaT field.
date: boolAdd assembly & EBP metric date GoaT fields.
gc_percent: boolAdd GC percent GoaT field.
gene_count: boolAdd gene count GoaT field.
gs: boolAdd genome size GoaT fields.
karyotype: boolAdd karyotype GoaT fields; chromosome number and haploid number.
legislation: boolAdd return information for isb_wildlife_act_1976,
habreg_2017, marhabreg-2017, waca_1981,
protection_of_badgers_act_1992, echabs92
mitochondrion: boolAdd mitochondrial assembly span and gc percent GoaT fields.
n50: boolAdd contig and scaffold n50 GoaT fields.
names: boolAdd synonym, tolID, and common name GoaT fields.
plastid: boolAdd plastid assembly span and gc percent GoaT fields.
ploidy: boolAdd ploidy GoaT field.
sex_determination: boolAdd sex determination GoaT field.
status: boolAdd sample tracking information GoaT field.
target_lists: boolAdd long_list, other_priority, and family_representative
GoaT fields.
tidy: boolRender output in tidy format?
Implementations
sourceimpl FieldBuilder
impl FieldBuilder
sourcepub fn build_fields_string(&self) -> String
pub fn build_fields_string(&self) -> String
A function which formats all of the GoaT fields together into a URL segment.
Trait Implementations
sourceimpl Clone for FieldBuilder
impl Clone for FieldBuilder
sourcefn clone(&self) -> FieldBuilder
fn clone(&self) -> FieldBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for FieldBuilder
Auto Trait Implementations
impl RefUnwindSafe for FieldBuilder
impl Send for FieldBuilder
impl Sync for FieldBuilder
impl Unpin for FieldBuilder
impl UnwindSafe for FieldBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more