pub struct MixerProof {
pub proof: Vec<u8>,
pub nullifier_hash: Vec<u8>,
pub root: Vec<u8>,
pub public_inputs: Vec<Vec<u8>>,
pub leaf: Vec<u8>,
}
Fields§
§proof: Vec<u8>
§nullifier_hash: Vec<u8>
§root: Vec<u8>
§public_inputs: Vec<Vec<u8>>
§leaf: Vec<u8>
Implementations§
Source§impl MixerProof
impl MixerProof
pub fn proof(&self) -> JsString
pub fn nullifier_hash(&self) -> JsString
pub fn root(&self) -> JsString
pub fn public_inputs_raw(&self) -> Array
pub fn leaf(&self) -> Uint8Array
Trait Implementations§
Source§impl Clone for MixerProof
impl Clone for MixerProof
Source§fn clone(&self) -> MixerProof
fn clone(&self) -> MixerProof
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 MixerProof
impl Debug for MixerProof
Source§impl From<MixerProof> for JsValue
impl From<MixerProof> for JsValue
Source§fn from(value: MixerProof) -> Self
fn from(value: MixerProof) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for MixerProof
impl FromWasmAbi for MixerProof
Source§impl IntoWasmAbi for MixerProof
impl IntoWasmAbi for MixerProof
Source§impl LongRefFromWasmAbi for MixerProof
impl LongRefFromWasmAbi for MixerProof
Source§impl OptionFromWasmAbi for MixerProof
impl OptionFromWasmAbi for MixerProof
Source§impl OptionIntoWasmAbi for MixerProof
impl OptionIntoWasmAbi for MixerProof
Source§impl RefFromWasmAbi for MixerProof
impl RefFromWasmAbi for MixerProof
Source§type Anchor = RcRef<MixerProof>
type Anchor = RcRef<MixerProof>
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.Source§impl RefMutFromWasmAbi for MixerProof
impl RefMutFromWasmAbi for MixerProof
Source§impl TryFromJsValue for MixerProof
impl TryFromJsValue for MixerProof
Source§impl VectorFromWasmAbi for MixerProof
impl VectorFromWasmAbi for MixerProof
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[MixerProof]>
Source§impl VectorIntoJsValue for MixerProof
impl VectorIntoJsValue for MixerProof
fn vector_into_jsvalue(vector: Box<[MixerProof]>) -> JsValue
Source§impl VectorIntoWasmAbi for MixerProof
impl VectorIntoWasmAbi for MixerProof
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[MixerProof]>) -> Self::Abi
Source§impl WasmDescribeVector for MixerProof
impl WasmDescribeVector for MixerProof
impl SupportsConstructor for MixerProof
impl SupportsInstanceProperty for MixerProof
impl SupportsStaticProperty for MixerProof
Auto Trait Implementations§
impl Freeze for MixerProof
impl RefUnwindSafe for MixerProof
impl Send for MixerProof
impl Sync for MixerProof
impl Unpin for MixerProof
impl UnwindSafe for MixerProof
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.