Struct filament_chain::TransactionBody
source · pub struct TransactionBody {
pub inputs: Vec<Input>,
pub chain_id: ChainId,
pub max_height: Option<u64>,
pub account_id: u64,
pub sequence: u64,
}Expand description
Body of a filament transaction.
Fields§
§inputs: Vec<Input>List of inputs carried by the transaction to advance the state machine.
chain_id: ChainIdIntended chain for the transaction to land on, to be included to prevent replays on other chains.
max_height: Option<u64>Maximum height until the transaction is valid.
account_id: u64Account id to match tx signers account.
sequence: u64Account sequence to match tx signers account state.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Body
impl<'de> Deserialize<'de> for Body
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 Body
impl PartialEq for Body
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnwindSafe for Body
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