[−][src]Struct wallabag_api::types::EntriesFilter
Represents possible filters to apply to get_entries_filtered
. To use the
default for a filter, set the value to None
.
Fields
archive: Option<bool>
None = all entries; true/false filters by archived or not archived only
starred: Option<bool>
None = all entries; true/false filters by starred or not starred only
sort: SortBy
Criteria to sort by.
order: SortOrder
Sort order.
Return entries that match all tags given. If vec empty, then no filtering is done. (currently not method to get only untagged entries)
Warning: do not supply tags with a comma in the name. TODO: make tags with comma in name impossible (how?)
since: i64
timestamp (in seconds) since when you want entries updated. This would be useful when implementing a sync method. Default is 0 (ie entries from the beginning of epoch).
public: Option<bool>
None = all entries; true/false = entries which do or do not have a public link
per_page: Option<u32>
Set to None
to accept server default (usually 30); otherwise set to number of items per
paginated page to request. Only need to change this if makes things more efficient for your
use case (will make a difference to number of requests made and size of responses).
Will result in a 404 error if set to 0.
Trait Implementations
impl Clone for EntriesFilter
[src]
fn clone(&self) -> EntriesFilter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EntriesFilter
[src]
impl Default for EntriesFilter
[src]
Use this to get an instance of EntriesFilter
ready to go. The defaults
here reflect the defaults that the server uses if the entries aren't
specified.
impl Serialize for EntriesFilter
[src]
Auto Trait Implementations
impl RefUnwindSafe for EntriesFilter
impl Send for EntriesFilter
impl Sync for EntriesFilter
impl Unpin for EntriesFilter
impl UnwindSafe for EntriesFilter
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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.
fn to_owned(&self) -> T
[src]
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.
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>,