Struct wallabag_api::types::EntriesPage[][src]

pub struct EntriesPage {
    pub per_page: u32,
    pub current_page: u32,
    pub total_pages: u32,
    pub total_entries: u32,
    pub entries: Entries,
}
Expand description

Represents a page of Entries returned. Includes both the payload and metadata about the page.

Fields

per_page: u32

Number of entries returned per page. This is set by the server; useful to know if you’re accepting the server default because this will inform what the server default is.

current_page: u32

The current page number of results.

total_pages: u32

Total number of pages in the set.

total_entries: u32

Total number of entries in the query set.

entries: Entries

The list of entries returned.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more