Struct wasm_utils::note::JsNote  
source · [−]pub struct JsNote {Show 13 fields
    pub prefix: NotePrefix,
    pub version: NoteVersion,
    pub target_chain_id: String,
    pub source_chain_id: String,
    pub backend: Backend,
    pub hash_function: HashFunction,
    pub curve: Curve,
    pub exponentiation: i8,
    pub width: usize,
    pub secret: Vec<u8>,
    pub token_symbol: String,
    pub amount: String,
    pub denomination: u8,
}Fields
prefix: NotePrefixversion: NoteVersiontarget_chain_id: Stringsource_chain_id: Stringbackend: Backendzkp related items
hash_function: HashFunctioncurve: Curveexponentiation: i8width: usizesecret: Vec<u8>mixer related items
token_symbol: Stringamount: Stringdenomination: u8Implementations
Deseralize note from a string
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for JsNote
impl UnwindSafe for JsNote
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