pub struct VAnchorProof {
pub proof: Vec<u8>,
pub public_inputs: Vec<Vec<u8>>,
pub output_notes: Vec<JsNote>,
pub input_utxos: Vec<JsUtxo>,
pub public_amount: [u8; 32],
}Fields§
§proof: Vec<u8>§public_inputs: Vec<Vec<u8>>§output_notes: Vec<JsNote>§input_utxos: Vec<JsUtxo>§public_amount: [u8; 32]Implementations§
Source§impl VAnchorProof
impl VAnchorProof
pub fn public_inputs_raw(&self) -> Array
pub fn output_notes(&self) -> Array
pub fn inputs_utxos(&self) -> Array
pub fn proof(&self) -> JsString
pub fn public_amount(&self) -> Uint8Array
Trait Implementations§
Source§impl Clone for VAnchorProof
impl Clone for VAnchorProof
Source§fn clone(&self) -> VAnchorProof
fn clone(&self) -> VAnchorProof
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 VAnchorProof
impl Debug for VAnchorProof
Source§impl From<VAnchorProof> for JsValue
impl From<VAnchorProof> for JsValue
Source§fn from(value: VAnchorProof) -> Self
fn from(value: VAnchorProof) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for VAnchorProof
impl FromWasmAbi for VAnchorProof
Source§impl IntoWasmAbi for VAnchorProof
impl IntoWasmAbi for VAnchorProof
Source§impl LongRefFromWasmAbi for VAnchorProof
impl LongRefFromWasmAbi for VAnchorProof
Source§impl OptionFromWasmAbi for VAnchorProof
impl OptionFromWasmAbi for VAnchorProof
Source§impl OptionIntoWasmAbi for VAnchorProof
impl OptionIntoWasmAbi for VAnchorProof
Source§impl RefFromWasmAbi for VAnchorProof
impl RefFromWasmAbi for VAnchorProof
Source§type Anchor = RcRef<VAnchorProof>
type Anchor = RcRef<VAnchorProof>
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 VAnchorProof
impl RefMutFromWasmAbi for VAnchorProof
Source§impl TryFromJsValue for VAnchorProof
impl TryFromJsValue for VAnchorProof
Source§impl VectorFromWasmAbi for VAnchorProof
impl VectorFromWasmAbi for VAnchorProof
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[VAnchorProof]>
Source§impl VectorIntoWasmAbi for VAnchorProof
impl VectorIntoWasmAbi for VAnchorProof
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[VAnchorProof]>) -> Self::Abi
Source§impl WasmDescribeVector for VAnchorProof
impl WasmDescribeVector for VAnchorProof
impl SupportsConstructor for VAnchorProof
impl SupportsInstanceProperty for VAnchorProof
impl SupportsStaticProperty for VAnchorProof
Auto Trait Implementations§
impl Freeze for VAnchorProof
impl RefUnwindSafe for VAnchorProof
impl Send for VAnchorProof
impl Sync for VAnchorProof
impl Unpin for VAnchorProof
impl UnwindSafe for VAnchorProof
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::AbiSource§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.