Struct iota_client::api::ClientBlockBuilderOptions
source · [−]pub struct ClientBlockBuilderOptions {Show 13 fields
pub coin_type: Option<u32>,
pub account_index: Option<u32>,
pub initial_address_index: Option<u32>,
pub inputs: Option<Vec<UtxoInputDto>>,
pub input_range: Option<Range<u32>>,
pub output: Option<ClientBlockBuilderOutputAddress>,
pub output_hex: Option<ClientBlockBuilderOutputAddress>,
pub outputs: Option<Vec<OutputDto>>,
pub custom_remainder_address: Option<String>,
pub tag: Option<String>,
pub data: Option<String>,
pub parents: Option<Vec<BlockId>>,
pub allow_burning: Option<bool>,
}Expand description
Options for generating block
Fields
coin_type: Option<u32>Coin type
account_index: Option<u32>Account index
initial_address_index: Option<u32>Initial address index
inputs: Option<Vec<UtxoInputDto>>Inputs
input_range: Option<Range<u32>>Input range
output: Option<ClientBlockBuilderOutputAddress>Bech32 encoded output address and amount
output_hex: Option<ClientBlockBuilderOutputAddress>Hex encoded output address and amount
outputs: Option<Vec<OutputDto>>Outputs
custom_remainder_address: Option<String>Custom remainder address
tag: Option<String>Hex encoded tag
data: Option<String>Hex encoded data
parents: Option<Vec<BlockId>>Parents
allow_burning: Option<bool>Allow burning of native tokens
Trait Implementations
sourceimpl Clone for ClientBlockBuilderOptions
impl Clone for ClientBlockBuilderOptions
sourcefn clone(&self) -> ClientBlockBuilderOptions
fn clone(&self) -> ClientBlockBuilderOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ClientBlockBuilderOptions
impl Debug for ClientBlockBuilderOptions
sourceimpl<'de> Deserialize<'de> for ClientBlockBuilderOptions
impl<'de> Deserialize<'de> for ClientBlockBuilderOptions
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for ClientBlockBuilderOptions
impl Send for ClientBlockBuilderOptions
impl Sync for ClientBlockBuilderOptions
impl Unpin for ClientBlockBuilderOptions
impl UnwindSafe for ClientBlockBuilderOptions
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