pub struct Report {
pub report_type: ReportType,
pub search: Vec<String>,
pub rank: String,
pub taxon_type: TaxType,
pub size: Option<usize>,
pub x: Option<String>,
pub y: Option<String>,
pub x_opts: Option<Opts>,
pub y_opts: Option<Opts>,
pub category: Option<String>,
}
Expand description
The record struct to make URLs from.
Fields
report_type: ReportType
The type of the report; tree or table.
search: Vec<String>
A vector of taxon ID’s/names.
rank: String
The rank of the return type. Default from CLI is species.
taxon_type: TaxType
Taxon type: tax_tree or tax_name
size: Option<usize>
The size of the result to return
x: Option<String>
The x value
y: Option<String>
The y value. Required for Scatterplot.
x_opts: Option<Opts>
x options. Always optional.
y_opts: Option<Opts>
The y options. Always optional.
category: Option<String>
The category. Required for CategoricalHistogram.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
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>
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