pub struct VAnchorProofInput {Show 13 fields
pub exponentiation: Option<i8>,
pub width: Option<usize>,
pub curve: Option<Curve>,
pub backend: Option<Backend>,
pub pk: Option<Vec<u8>>,
pub leaves: Option<BTreeMap<u64, Vec<Vec<u8>>>>,
pub ext_data_hash: Option<Vec<u8>>,
pub roots: Option<Vec<Vec<u8>>>,
pub secret: Option<Vec<JsUtxo>>,
pub indices: Option<Vec<u64>>,
pub chain_id: Option<u128>,
pub public_amount: Option<i128>,
pub output_utxos: Option<[JsUtxo; 2]>,
}Fields§
§exponentiation: Option<i8>§width: Option<usize>§curve: Option<Curve>§backend: Option<Backend>§pk: Option<Vec<u8>>§leaves: Option<BTreeMap<u64, Vec<Vec<u8>>>>§ext_data_hash: Option<Vec<u8>>§roots: Option<Vec<Vec<u8>>>get roots for linkable tree Available set can be of length 2 , 16 , 32
secret: Option<Vec<JsUtxo>>§indices: Option<Vec<u64>>§chain_id: Option<u128>§public_amount: Option<i128>§output_utxos: Option<[JsUtxo; 2]>Implementations§
Source§impl VAnchorProofInput
impl VAnchorProofInput
pub fn build(self) -> Result<VAnchorProofPayload, OperationError>
Trait Implementations§
Source§impl Clone for VAnchorProofInput
impl Clone for VAnchorProofInput
Source§fn clone(&self) -> VAnchorProofInput
fn clone(&self) -> VAnchorProofInput
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 VAnchorProofInput
impl Debug for VAnchorProofInput
Source§impl Default for VAnchorProofInput
impl Default for VAnchorProofInput
Source§fn default() -> VAnchorProofInput
fn default() -> VAnchorProofInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VAnchorProofInput
impl RefUnwindSafe for VAnchorProofInput
impl Send for VAnchorProofInput
impl Sync for VAnchorProofInput
impl Unpin for VAnchorProofInput
impl UnwindSafe for VAnchorProofInput
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