pub struct ArXiv {
pub args: QueryParams,
pub start: Option<u64>,
pub max_resutls: Option<u64>,
pub sort_by: Option<SortBy>,
pub sort_order: Option<SortOrder>,
}Fields§
§args: QueryParams§start: Option<u64>§max_resutls: Option<u64>§sort_by: Option<SortBy>§sort_order: Option<SortOrder>Implementations§
Source§impl ArXiv
impl ArXiv
pub fn from_args(args: QueryParams) -> Self
pub fn start(&mut self, start: u64) -> &mut Self
pub fn max_results(&mut self, max_results: u64) -> &mut Self
pub fn sort_by(&mut self, sort_by: SortBy) -> &mut Self
pub fn sort_order(&mut self, sort_order: SortOrder) -> &mut Self
pub async fn query(&mut self) -> Vec<Paper>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArXiv
impl RefUnwindSafe for ArXiv
impl Send for ArXiv
impl Sync for ArXiv
impl Unpin for ArXiv
impl UnwindSafe for ArXiv
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