Struct stellar_client::endpoint::effect::All [−][src]
pub struct All { /* fields omitted */ }This endpoint represents all effects that have resulted from successful opreations in Stellar. The endpoint will return all effects and accepts query params for a cursor, order, and limit.
https://www.stellar.org/developers/horizon/reference/endpoints/effects-all.html
Example
use stellar_client::sync::Client; use stellar_client::endpoint::effect; let client = Client::horizon_test().unwrap(); let endpoint = effect::All::default(); let records = client.request(endpoint).unwrap();
Trait Implementations
impl Debug for All[src]
impl Debug for Allfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for All[src]
impl Default for Allimpl Clone for All[src]
impl Clone for Allfn clone(&self) -> All[src]
fn clone(&self) -> AllReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Cursor for All[src]
impl Cursor for Allfn with_cursor(self, cursor: &str) -> All[src]
fn with_cursor(self, cursor: &str) -> AllSets a cursor on the struct and returns an owned version.
fn cursor(&self) -> Option<&str>[src]
fn cursor(&self) -> Option<&str>Returns the cursor that has been set, if it has been set.
impl Limit for All[src]
impl Limit for Allfn with_limit(self, limit: u32) -> All[src]
fn with_limit(self, limit: u32) -> AllSets a limit on the struct and returns an owned version.
fn limit(&self) -> Option<u32>[src]
fn limit(&self) -> Option<u32>Returns the limit or None.
impl Order for All[src]
impl Order for Allfn with_order(self, order: Direction) -> All[src]
fn with_order(self, order: Direction) -> AllSets the order on the struct and returns an owned version.
fn order(&self) -> Option<Direction>[src]
fn order(&self) -> Option<Direction>Returns the order that has been set, if it has been set.
impl IntoRequest for All[src]
impl IntoRequest for Alltype Response = Records<Effect>
The deserializable type that is expected to come back from the stellar server.
fn into_request(self, host: &str) -> Result<Request<Body>>[src]
fn into_request(self, host: &str) -> Result<Request<Body>>The request body to be sent to stellar. Generally this is just a () unit. Converts the implementing struct into an http request. Read more