Struct wasm_utils::note::JsNoteBuilder
source · [−]pub struct JsNoteBuilder {Show 13 fields
pub prefix: Option<NotePrefix>,
pub version: Option<NoteVersion>,
pub target_chain_id: Option<String>,
pub source_chain_id: Option<String>,
pub backend: Option<Backend>,
pub hash_function: Option<HashFunction>,
pub curve: Option<Curve>,
pub token_symbol: Option<String>,
pub amount: Option<String>,
pub denomination: Option<u8>,
pub exponentiation: Option<i8>,
pub width: Option<usize>,
pub secrets: Option<Vec<u8>>,
}Fields
prefix: Option<NotePrefix>version: Option<NoteVersion>target_chain_id: Option<String>source_chain_id: Option<String>backend: Option<Backend>zkp related items
hash_function: Option<HashFunction>curve: Option<Curve>token_symbol: Option<String>amount: Option<String>denomination: Option<u8>exponentiation: Option<i8>width: Option<usize>secrets: Option<Vec<u8>>Implementations
Trait Implementations
Performs the conversion.
type Anchor = Ref<'static, JsNoteBuilder>
type Anchor = Ref<'static, JsNoteBuilder>
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, JsNoteBuilder>
type Anchor = RefMut<'static, JsNoteBuilder>
Same as RefFromWasmAbi::Anchor
Same as RefFromWasmAbi::ref_from_abi
Auto Trait Implementations
impl RefUnwindSafe for JsNoteBuilder
impl Send for JsNoteBuilder
impl Sync for JsNoteBuilder
impl Unpin for JsNoteBuilder
impl UnwindSafe for JsNoteBuilder
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