pub struct VAnchorProofPayload {Show 13 fields
pub exponentiation: i8,
pub width: usize,
pub curve: Curve,
pub backend: Backend,
pub pk: Vec<u8>,
pub leaves: BTreeMap<u64, Vec<Vec<u8>>>,
pub ext_data_hash: Vec<u8>,
pub roots: Vec<Vec<u8>>,
pub secret: Vec<JsUtxo>,
pub indices: Vec<u64>,
pub chain_id: u64,
pub public_amount: i128,
pub output_utxos: [JsUtxo; 2],
}Fields§
§exponentiation: i8§width: usize§curve: Curve§backend: Backend§pk: Vec<u8>§leaves: BTreeMap<u64, Vec<Vec<u8>>>§ext_data_hash: Vec<u8>§roots: Vec<Vec<u8>>get roots for linkable tree Available set can be of length 2 , 16 , 32
secret: Vec<JsUtxo>§indices: Vec<u64>§chain_id: u64§public_amount: i128§output_utxos: [JsUtxo; 2]Trait Implementations§
Source§impl Clone for VAnchorProofPayload
impl Clone for VAnchorProofPayload
Source§fn clone(&self) -> VAnchorProofPayload
fn clone(&self) -> VAnchorProofPayload
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 moreAuto Trait Implementations§
impl Freeze for VAnchorProofPayload
impl RefUnwindSafe for VAnchorProofPayload
impl Send for VAnchorProofPayload
impl Sync for VAnchorProofPayload
impl Unpin for VAnchorProofPayload
impl UnwindSafe for VAnchorProofPayload
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