[][src]Struct arangors::response::Cursor

pub struct Cursor<T> {
    pub error: bool,
    pub code: u16,
    pub count: Option<usize>,
    pub cached: bool,
    pub more: bool,
    pub result: Vec<T>,
    pub id: Option<String>,
    pub extra: Option<Extra>,
}

Fields

error: boolcode: u16

HTTP status code

count: Option<usize>

the total number of result documents available

only available if the query was executed with the count attribute set

cached: bool

a boolean flag indicating whether the query result was served from the query cache or not.

If the query result is served from the query cache, the extra return attribute will not contain any stats sub-attribute and no profile sub-attribute.,

more: bool

A boolean indicator whether there are more results available for the cursor on the server

result: Vec<T>

(anonymous json object): an array of result documents (might be empty if query has no results)

id: Option<String>

id of temporary cursor created on the server

extra: Option<Extra>

an optional JSON object with extra information about the query result contained in its stats sub-attribute. For data-modification queries, the extra.stats sub-attribute will contain the number of modified documents and the number of documents that could not be modified due to an error if ignoreErrors query option is specified.

Trait Implementations

impl<T: Debug> Debug for Cursor<T>[src]

impl<'de, T> Deserialize<'de> for Cursor<T> where
    T: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<T> Send for Cursor<T> where
    T: Send

impl<T> Sync for Cursor<T> where
    T: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T