Struct wasm_utils::proof::ProofInputBuilder
source · [−]pub struct ProofInputBuilder {
pub recipient: Option<Vec<u8>>,
pub relayer: Option<Vec<u8>>,
pub leaves: Option<Vec<[u8; 32]>>,
pub leaf_index: Option<u64>,
pub fee: Option<u128>,
pub refund: Option<u128>,
pub pk: Option<Vec<u8>>,
pub note: Option<JsNote>,
pub commitment: Option<[u8; 32]>,
pub roots: Option<Vec<Vec<u8>>>,
}Fields
recipient: Option<Vec<u8>>relayer: Option<Vec<u8>>leaves: Option<Vec<[u8; 32]>>leaf_index: Option<u64>fee: Option<u128>refund: Option<u128>pk: Option<Vec<u8>>note: Option<JsNote>commitment: Option<[u8; 32]>required only for [anchor,]
roots: Option<Vec<Vec<u8>>>required only for [anchor,]
Implementations
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
type Anchor = Ref<'static, ProofInputBuilder>
type Anchor = Ref<'static, ProofInputBuilder>
The type that holds the reference to Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
Recover a Self::Anchor from Self::Abi. Read more
type Anchor = RefMut<'static, ProofInputBuilder>
type Anchor = RefMut<'static, ProofInputBuilder>
Same as RefFromWasmAbi::Anchor
Same as RefFromWasmAbi::ref_from_abi
Auto Trait Implementations
impl RefUnwindSafe for ProofInputBuilder
impl Send for ProofInputBuilder
impl Sync for ProofInputBuilder
impl Unpin for ProofInputBuilder
impl UnwindSafe for ProofInputBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more