Struct stellar_client::endpoint::Records[][src]

pub struct Records<T> where
    T: DeserializeOwned
{ /* fields omitted */ }

A struct that represents a set of records returned from the horizon api.

Use this struct when querying an end point that returns an index route with embedded resources. There will also be a links object in the returned value that will provide access to the cursor to paginate.

Methods

impl<T> Records<T> where
    T: DeserializeOwned
[src]

Returns a slice of the embedded records.

Returns the uri to the next page.

Returns the uri to the previous page.

Trait Implementations

impl<T: Debug> Debug for Records<T> where
    T: DeserializeOwned
[src]

Formats the value using the given formatter. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

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

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