[−][src]Enum crossref::query::works::WorkResultControl
limits from where and how many Work
items should be returned
Variants
Standard(ResultControl)
use the standard ResultControl available for all components
Cursor
If you are expecting results beyond 10K, then use a cursor to deep page through the results
Fields of Cursor
Methods
impl WorkResultControl
[src]
pub fn new_cursor() -> Self
[src]
set a cursor with *
value, a new cursor will be provided in the next-cursor
field of the result
pub fn cursor(token: &str) -> Self
[src]
create a new Cursor with only a token value
Trait Implementations
impl CrossrefQueryParam for WorkResultControl
[src]
fn param_key(&self) -> Cow<str>
[src]
fn param_value(&self) -> Option<Cow<str>>
[src]
fn param(&self) -> Cow<str>
[src]
constructs the full parameter for the query string by combining the key and value
impl Default for WorkResultControl
[src]
impl Clone for WorkResultControl
[src]
fn clone(&self) -> WorkResultControl
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for WorkResultControl
[src]
Auto Trait Implementations
impl Sync for WorkResultControl
impl Unpin for WorkResultControl
impl Send for WorkResultControl
impl UnwindSafe for WorkResultControl
impl RefUnwindSafe for WorkResultControl
Blanket Implementations
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,