[][src]Struct stellar_base::transaction::FeeBumpTransaction

pub struct FeeBumpTransaction { /* fields omitted */ }

Fee bump transaction.

Implementations

impl FeeBumpTransaction[src]

pub fn new(
    fee_source: MuxedAccount,
    fee: Stroops,
    inner_tx: Transaction
) -> FeeBumpTransaction
[src]

Creates a new fee bump transaction.

pub fn fee_source(&self) -> &MuxedAccount[src]

Retrieves the transaction fee source.

pub fn fee_source_mut(&mut self) -> &mut MuxedAccount[src]

Retrieves a mutable reference to the transaction fee source.

pub fn fee(&self) -> &Stroops[src]

Retrievies the transaction fee.

pub fn fee_mut(&mut self) -> &mut Stroops[src]

Retrievies a mutable reference to the transaction fee.

pub fn inner_transaction(&self) -> &Transaction[src]

Retrieves the transaction inner transaction.

pub fn inner_transaction_mut(&mut self) -> &mut Transaction[src]

Retrieves a mutable reference to the transaction inner transaction.

pub fn signatures(&self) -> &Vec<DecoratedSignature>[src]

Retrieves the transaction signatures.

pub fn signatures_mut(&mut self) -> &mut Vec<DecoratedSignature>[src]

Retrieves a mutable reference the transaction signatures.

pub fn into_envelope(self) -> TransactionEnvelope[src]

Creates a TransactionEnvelope from the transaction.

This consumes the transaction and takes ownership of it.

pub fn to_envelope(&self) -> TransactionEnvelope[src]

Creates a TransactionEnvelope from the transaction.

pub fn sign_hashx(&mut self, preimage: &[u8]) -> Result<()>[src]

Sign transaction with preimage, and add signature.

This signs the transaction with the preimage x of hash(x).

pub fn sign(&mut self, key: &KeyPair, network: &Network) -> Result<()>[src]

Sign transaction with key for network, and add signature.

pub fn decorated_signature_from_preimage(
    &self,
    preimage: &[u8]
) -> Result<DecoratedSignature>
[src]

Returns the decorated signature of the transaction create with image.

pub fn decorated_signature(
    &self,
    key: &KeyPair,
    network: &Network
) -> Result<DecoratedSignature>
[src]

Returns the decorated signature of the transaction create with key for network.

pub fn hash(&self, network: &Network) -> Result<Vec<u8>>[src]

Returns the transaction hash for the transaction on network.

pub fn signature_data(&self, network: &Network) -> Result<Vec<u8>>[src]

Returns the transaction signature data as bytes.

pub fn to_xdr(&self) -> Result<FeeBumpTransaction>[src]

Returns the xdr object.

pub fn to_xdr_envelope(&self) -> Result<FeeBumpTransactionEnvelope>[src]

Returns the fee bump transaction envelope xdr object.

pub fn from_xdr(x: &FeeBumpTransaction) -> Result<FeeBumpTransaction>[src]

Creates from xdr object.

pub fn from_xdr_envelope(
    x: &FeeBumpTransactionEnvelope
) -> Result<FeeBumpTransaction>
[src]

Creates from xdr envelope object.

pub fn to_xdr_transaction_signature_payload(
    &self,
    network: &Network
) -> Result<TransactionSignaturePayload>
[src]

Returns the xdr transaction signature payload object.

Trait Implementations

impl Clone for FeeBumpTransaction[src]

impl Debug for FeeBumpTransaction[src]

impl Eq for FeeBumpTransaction[src]

impl PartialEq<FeeBumpTransaction> for FeeBumpTransaction[src]

impl StructuralEq for FeeBumpTransaction[src]

impl StructuralPartialEq for FeeBumpTransaction[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.