FieldBuilder

Struct FieldBuilder 

Source
pub struct FieldBuilder {
Show 28 fields pub taxon_assembly: bool, pub taxon_bioproject: bool, pub taxon_busco: bool, pub taxon_country_list: bool, pub taxon_cvalues: bool, pub taxon_date: bool, pub taxon_gc_percent: bool, pub taxon_gene_count: bool, pub taxon_gs: bool, pub taxon_karyotype: bool, pub taxon_legislation: bool, pub taxon_mitochondrion: bool, pub taxon_n50: bool, pub taxon_names: bool, pub taxon_plastid: bool, pub taxon_ploidy: bool, pub taxon_sex_determination: bool, pub taxon_status: bool, pub taxon_target_lists: bool, pub taxon_tidy: bool, pub assembly_assembly: bool, pub assembly_karyotype: bool, pub assembly_contig: bool, pub assembly_scaffold: bool, pub assembly_gc: bool, pub assembly_gene: bool, pub assembly_busco: bool, pub assembly_btk: bool,
}
Expand description

Boolean struct containing all of the CLI flag information passed from the user. This struct has been expanded to include both taxon and assembly indexes.

Fields§

§taxon_assembly: bool

Add only assembly level/span GoaT fields.

A taxon index flag.

§taxon_bioproject: bool

Add bioproject GoaT field.

A taxon index flag.

§taxon_busco: bool

Add BUSCO completeness.

A taxon index flag.

§taxon_country_list: bool

Add country list GoaT field.

A taxon index flag.

§taxon_cvalues: bool

Add C-value information GoaT field.

A taxon index flag.

§taxon_date: bool

Add assembly & EBP metric date GoaT fields.

A taxon index flag.

§taxon_gc_percent: bool

Add GC percent GoaT field.

A taxon index flag.

§taxon_gene_count: bool

Add gene count GoaT field.

A taxon index flag.

§taxon_gs: bool

Add genome size GoaT fields.

A taxon index flag.

§taxon_karyotype: bool

Add karyotype GoaT fields; chromosome number and haploid number.

A taxon index flag.

§taxon_legislation: bool

Add return information for isb_wildlife_act_1976, habreg_2017, marhabreg-2017, waca_1981, protection_of_badgers_act_1992, echabs92

A taxon index flag.

§taxon_mitochondrion: bool

Add mitochondrial assembly span and gc percent GoaT fields.

A taxon index flag.

§taxon_n50: bool

Add contig and scaffold n50 GoaT fields.

A taxon index flag.

§taxon_names: bool

Add synonym, tolID, and common name GoaT fields.

Not implemented in FieldBuilder below.

A taxon index flag.

§taxon_plastid: bool

Add plastid assembly span and gc percent GoaT fields.

A taxon index flag.

§taxon_ploidy: bool

Add ploidy GoaT field.

A taxon index flag.

§taxon_sex_determination: bool

Add sex determination GoaT field.

A taxon index flag.

§taxon_status: bool

Add sample tracking information GoaT field.

A taxon index flag.

§taxon_target_lists: bool

Add long_list, other_priority, and family_representative GoaT fields.

A taxon index flag.

§taxon_tidy: bool

Render output in tidy format?

Not implemented in FieldBuilder below.

A taxon index flag.

§assembly_assembly: bool

Assembly span and level.

An assembly index flag.

§assembly_karyotype: bool

Only chromosome count.

An assembly index flag.

§assembly_contig: bool

All the contig information.

An assembly index flag.

§assembly_scaffold: bool

All scaffold information.

An assembly index flag.

§assembly_gc: bool

GC content.

An assembly index flag.

§assembly_gene: bool

Gene and non-coding gene count.

An assembly index flag.

§assembly_busco: bool

BUSCO completeness, lineage and string.

An assembly index flag.

§assembly_btk: bool

BlobToolKit stats(?). No hit/target.

An assembly index flag.

Implementations§

Source§

impl FieldBuilder

Source

pub fn build_fields_string(&self) -> String

A function which formats all of the GoaT fields together into a URL segment.

Trait Implementations§

Source§

impl Clone for FieldBuilder

Source§

fn clone(&self) -> FieldBuilder

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for FieldBuilder

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,