Struct arxiv::ArxivQueryBuilder [−][src]
A builder of ArxivQuery
Fields
base_url: String
search_query: String
id_list: String
start: Option<i32>
max_results: Option<i32>
sort_by: String
sort_order: String
Implementations
impl ArxivQueryBuilder
[src]
pub fn new() -> Self
[src]
pub fn build(&self) -> ArxivQuery
[src]
Build ArxivQuery from ArxivQueryBuilder.
pub fn search_query(&self, search_query: &str) -> Self
[src]
Store the argument value in search_query.
pub fn id_list(&self, id_list: &str) -> Self
[src]
Store the argument value in id_list.
pub fn start(&self, start: i32) -> Self
[src]
Store the argument value in start.
pub fn max_results(&self, max_results: i32) -> Self
[src]
Store the argument value in max_results.
pub fn sort_by(&self, sort_by: &str) -> Self
[src]
Store the argument value in sort_by.
pub fn sort_order(&self, sort_order: &str) -> Self
[src]
Store the argument value in sort_order.
Trait Implementations
impl Clone for ArxivQueryBuilder
[src]
fn clone(&self) -> ArxivQueryBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ArxivQueryBuilder
[src]
impl Default for ArxivQueryBuilder
[src]
fn default() -> ArxivQueryBuilder
[src]
impl Eq for ArxivQueryBuilder
[src]
impl PartialEq<ArxivQueryBuilder> for ArxivQueryBuilder
[src]
fn eq(&self, other: &ArxivQueryBuilder) -> bool
[src]
fn ne(&self, other: &ArxivQueryBuilder) -> bool
[src]
impl StructuralEq for ArxivQueryBuilder
[src]
impl StructuralPartialEq for ArxivQueryBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArxivQueryBuilder
impl Send for ArxivQueryBuilder
impl Sync for ArxivQueryBuilder
impl Unpin for ArxivQueryBuilder
impl UnwindSafe for ArxivQueryBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,