[−][src]Struct stellar_base::transaction::FeeBumpTransaction
Fee bump transaction.
Implementations
impl FeeBumpTransaction[src]
pub fn new(
fee_source: MuxedAccount,
fee: Stroops,
inner_tx: Transaction
) -> FeeBumpTransaction[src]
fee_source: MuxedAccount,
fee: Stroops,
inner_tx: Transaction
) -> FeeBumpTransaction
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]
&self,
preimage: &[u8]
) -> Result<DecoratedSignature>
Returns the decorated signature of the transaction create with image.
pub fn decorated_signature(
&self,
key: &KeyPair,
network: &Network
) -> Result<DecoratedSignature>[src]
&self,
key: &KeyPair,
network: &Network
) -> Result<DecoratedSignature>
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]
x: &FeeBumpTransactionEnvelope
) -> Result<FeeBumpTransaction>
Creates from xdr envelope object.
pub fn to_xdr_transaction_signature_payload(
&self,
network: &Network
) -> Result<TransactionSignaturePayload>[src]
&self,
network: &Network
) -> Result<TransactionSignaturePayload>
Returns the xdr transaction signature payload object.
Trait Implementations
impl Clone for FeeBumpTransaction[src]
fn clone(&self) -> FeeBumpTransaction[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FeeBumpTransaction[src]
impl Eq for FeeBumpTransaction[src]
impl PartialEq<FeeBumpTransaction> for FeeBumpTransaction[src]
fn eq(&self, other: &FeeBumpTransaction) -> bool[src]
fn ne(&self, other: &FeeBumpTransaction) -> bool[src]
impl StructuralEq for FeeBumpTransaction[src]
impl StructuralPartialEq for FeeBumpTransaction[src]
Auto Trait Implementations
impl RefUnwindSafe for FeeBumpTransaction
impl Send for FeeBumpTransaction
impl Sync for FeeBumpTransaction
impl Unpin for FeeBumpTransaction
impl UnwindSafe for FeeBumpTransaction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,