[][src]Struct jlib::base::local_sign::sign_tx::SignTx

pub struct SignTx {
    pub sequence: u32,
    pub keypair: Keypair,
}

Fields

sequence: u32keypair: Keypair

Methods

impl SignTx[src]

pub fn with_params(sequence: u32, secret: &str) -> Self[src]

impl SignTx[src]

pub fn pay(&self, tx_json: &TxJson) -> String[src]

pub fn relate(&self, tx_json: &RelationTxJson) -> String[src]

pub fn create_offer(&self, tx_json: &OfferCreateTxJson) -> String[src]

pub fn cancel_offer(&self, tx_json: &OfferCancelTxJson) -> String[src]

pub fn set_rate(&self, tx_json: &SetBrokerageTxJson) -> String[src]

impl SignTx[src]

pub fn get_blob(&self, signed_tx_json: &mut SignedTxJson) -> String[src]

pub fn get_txn_signature(
    &self,
    fields: &mut Vec<&str>,
    signed_tx_json: &mut SignedTxJson
)
[src]

pub fn update(&self, fields: &mut Vec<&str>, field: &'static str)[src]

pub fn sort_fields(fields: &mut Vec<&str>)[src]

Auto Trait Implementations

impl Sync for SignTx

impl Send for SignTx

impl Unpin for SignTx

impl RefUnwindSafe for SignTx

impl UnwindSafe for SignTx

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Downcast for T where
    T: Any