Struct substrate_stellar_sdk::horizon::Horizon [−][src]
pub struct Horizon { /* fields omitted */ }
Implementations
pub fn request(
&self,
path: Vec<&[u8]>,
method: Method,
timeout_milliseconds: u64
) -> Result<Vec<u8>, FetchError>
Fetch the sequence number of an account
The sequence number is defined to be of type i64
pub fn fetch_account<T: IntoAccountId>(
&self,
account_id: T,
timeout_milliseconds: u64
) -> Result<AccountResponse, FetchError>
pub fn fetch_account<T: IntoAccountId>(
&self,
account_id: T,
timeout_milliseconds: u64
) -> Result<AccountResponse, FetchError>
Fetch the sequence number of an account
The sequence number is defined to be of type i64
pub fn fetch_next_sequence_number<T: IntoAccountId>(
&self,
account_id: T,
timeout_milliseconds: u64
) -> Result<i64, FetchError>
pub fn fetch_next_sequence_number<T: IntoAccountId>(
&self,
account_id: T,
timeout_milliseconds: u64
) -> Result<i64, FetchError>
Fetch the sequence number of an account
The sequence number is defined to be of type i64
pub fn submit_transaction(
&self,
transaction_envelope: &TransactionEnvelope,
timeout_milliseconds: u64,
skip_memo_required_check: bool
) -> Result<Value, FetchError>
Auto Trait Implementations
impl RefUnwindSafe for Horizon
impl UnwindSafe for Horizon
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
pub fn unchecked_into(self) -> T
pub fn unchecked_into(self) -> T
The counterpart to unchecked_from
.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,