pub struct All { /* fields omitted */ }Represents the all assets end point for the stellar horizon server. The endpoint
will return all assets filtered by a myriad of different query params.
https://www.stellar.org/developers/horizon/reference/endpoints/assets-all.html
use stellar_client::sync::Client;
use stellar_client::endpoint::asset;
let client = Client::horizon_test().unwrap();
let endpoint = asset::All::default();
let records = client.request(endpoint).unwrap();
Fetches all records for a given asset code.
use stellar_client::sync::Client;
use stellar_client::endpoint::asset;
let client = Client::horizon_test().unwrap();
let endpoint = asset::All::default().with_asset_code("USD");
let records = client.request(endpoint).unwrap();
Fetches all records for a given asset issuer.
use stellar_client::sync::Client;
use stellar_client::endpoint::asset;
let client = Client::horizon_test().unwrap();
let endpoint = asset::All::default().with_asset_issuer(issuer);
let records = client.request(endpoint).unwrap();
Formats the value using the given formatter. Read more
Returns the "default value" for a type. Read more
Performs copy-assignment from source. Read more
Sets a cursor on the struct and returns an owned version.
Returns the cursor that has been set, if it has been set.
Sets a limit on the struct and returns an owned version.
Returns the limit or None.
Sets the order on the struct and returns an owned version.
Returns the order that has been set, if it has been set.
The deserializable type that is expected to come back from the stellar server.
The request body to be sent to stellar. Generally this is just a () unit. Converts the implementing struct into an http request. Read more