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 burn: Option<BurnDto>,
}
Available on crate feature
client
only.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
burn: Option<BurnDto>
Explicit burning of aliases, nfts, foundries and native tokens
Trait Implementations§
Source§impl Clone for ClientBlockBuilderOptions
impl Clone for ClientBlockBuilderOptions
Source§fn clone(&self) -> ClientBlockBuilderOptions
fn clone(&self) -> ClientBlockBuilderOptions
Returns a copy 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 ClientBlockBuilderOptions
impl Debug for ClientBlockBuilderOptions
Source§impl<'de> Deserialize<'de> for ClientBlockBuilderOptions
impl<'de> Deserialize<'de> for ClientBlockBuilderOptions
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
Auto Trait Implementations§
impl Freeze for ClientBlockBuilderOptions
impl RefUnwindSafe for ClientBlockBuilderOptions
impl Send for ClientBlockBuilderOptions
impl Sync for ClientBlockBuilderOptions
impl Unpin for ClientBlockBuilderOptions
impl UnwindSafe for ClientBlockBuilderOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more