Enum algonaut_transaction::builder::TxnFee
source · [−]pub enum TxnFee {
Estimated {
fee_per_byte: MicroAlgos,
min_fee: MicroAlgos,
},
Fixed(MicroAlgos),
}
Variants
Estimated
The fee is calculated based on the estimated signed tx size, fee per byte and a min fee
Fixed(MicroAlgos)
Set directly the fee
Implementations
Trait Implementations
impl Eq for TxnFee
impl StructuralEq for TxnFee
impl StructuralPartialEq for TxnFee
Auto Trait Implementations
impl RefUnwindSafe for TxnFee
impl Send for TxnFee
impl Sync for TxnFee
impl Unpin for TxnFee
impl UnwindSafe for TxnFee
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.