Struct stellar_client::endpoint::transaction::Details [−][src]
pub struct Details { /* fields omitted */ }Represents the details for a singular transaction.
https://www.stellar.org/developers/horizon/reference/endpoints/transactions-single.html
Example
use stellar_client::sync::Client; use stellar_client::endpoint::{transaction, Limit}; let client = Client::horizon_test().unwrap(); let endpoint = transaction::Details::new(hash); let txn = client.request(endpoint).unwrap();
Methods
impl Details[src]
impl Detailspub fn new(hash: &str) -> Self[src]
pub fn new(hash: &str) -> SelfReturns a new end point for transaction details. Hand this to the client in order to request the details for a specific transaction
Trait Implementations
impl Debug for Details[src]
impl Debug for Detailsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl IntoRequest for Details[src]
impl IntoRequest for Detailstype Response = Transaction
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