pub struct IntentionSet {
pub initiator_address: String,
pub tx_fee_in_sats: u64,
pub intentions: Vec<Intention>,
}
Expand description
Represents a set of intentions to be executed in a transaction.
Fields§
§initiator_address: String
The address of the initiator of the transaction
tx_fee_in_sats: u64
The fee in satoshis for the transaction
intentions: Vec<Intention>
The list of intentions to be executed in the transaction
Implementations§
Source§impl IntentionSet
impl IntentionSet
pub fn all_input_coins(&self) -> Vec<InputCoin>
pub fn all_output_coins(&self) -> Vec<OutputCoin>
pub fn all_coin_ids(&self) -> Vec<CoinId>
Trait Implementations§
Source§impl CandidType for IntentionSet
impl CandidType for IntentionSet
Source§impl Clone for IntentionSet
impl Clone for IntentionSet
Source§fn clone(&self) -> IntentionSet
fn clone(&self) -> IntentionSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IntentionSet
impl Debug for IntentionSet
Source§impl<'de> Deserialize<'de> for IntentionSet
impl<'de> Deserialize<'de> for IntentionSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IntentionSet
impl PartialEq for IntentionSet
Source§impl Serialize for IntentionSet
impl Serialize for IntentionSet
impl Eq for IntentionSet
impl StructuralPartialEq for IntentionSet
Auto Trait Implementations§
impl Freeze for IntentionSet
impl RefUnwindSafe for IntentionSet
impl Send for IntentionSet
impl Sync for IntentionSet
impl Unpin for IntentionSet
impl UnwindSafe for IntentionSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more