pub struct MixerProofInput {Show 14 fields
pub exponentiation: Option<i8>,
pub width: Option<usize>,
pub curve: Option<Curve>,
pub backend: Option<Backend>,
pub secret: Option<Vec<u8>>,
pub nullifier: Option<Vec<u8>>,
pub recipient: Option<Vec<u8>>,
pub relayer: Option<Vec<u8>>,
pub pk: Option<Vec<u8>>,
pub refund: Option<u128>,
pub fee: Option<u128>,
pub chain_id: Option<u128>,
pub leaves: Option<Vec<Vec<u8>>>,
pub leaf_index: Option<u64>,
}
Fields§
§exponentiation: Option<i8>
§width: Option<usize>
§curve: Option<Curve>
§backend: Option<Backend>
§secret: Option<Vec<u8>>
§nullifier: Option<Vec<u8>>
§recipient: Option<Vec<u8>>
§relayer: Option<Vec<u8>>
§pk: Option<Vec<u8>>
§refund: Option<u128>
§fee: Option<u128>
§chain_id: Option<u128>
§leaves: Option<Vec<Vec<u8>>>
§leaf_index: Option<u64>
Implementations§
Source§impl MixerProofInput
impl MixerProofInput
pub fn build(self) -> Result<MixerProofPayload, OperationError>
Trait Implementations§
Source§impl Clone for MixerProofInput
impl Clone for MixerProofInput
Source§fn clone(&self) -> MixerProofInput
fn clone(&self) -> MixerProofInput
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 MixerProofInput
impl Debug for MixerProofInput
Source§impl Default for MixerProofInput
impl Default for MixerProofInput
Source§fn default() -> MixerProofInput
fn default() -> MixerProofInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MixerProofInput
impl RefUnwindSafe for MixerProofInput
impl Send for MixerProofInput
impl Sync for MixerProofInput
impl Unpin for MixerProofInput
impl UnwindSafe for MixerProofInput
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