Struct libzeropool_rs::client::StateFragment
source · [−]pub struct StateFragment<Fr: PrimeField> {
pub new_leafs: Vec<(u64, Vec<Hash<Fr>>)>,
pub new_commitments: Vec<(u64, Hash<Fr>)>,
pub new_accounts: Vec<(u64, Account<Fr>)>,
pub new_notes: Vec<(u64, Note<Fr>)>,
}
Fields
new_leafs: Vec<(u64, Vec<Hash<Fr>>)>
new_commitments: Vec<(u64, Hash<Fr>)>
new_accounts: Vec<(u64, Account<Fr>)>
new_notes: Vec<(u64, Note<Fr>)>
Trait Implementations
sourceimpl<Fr: Clone + PrimeField> Clone for StateFragment<Fr>
impl<Fr: Clone + PrimeField> Clone for StateFragment<Fr>
sourcefn clone(&self) -> StateFragment<Fr>
fn clone(&self) -> StateFragment<Fr>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<Fr: Default + PrimeField> Default for StateFragment<Fr>
impl<Fr: Default + PrimeField> Default for StateFragment<Fr>
sourcefn default() -> StateFragment<Fr>
fn default() -> StateFragment<Fr>
Returns the “default value” for a type. Read more
sourceimpl<'de, Fr: PrimeField> Deserialize<'de> for StateFragment<Fr>where
Fr: Deserialize<'de>,
impl<'de, Fr: PrimeField> Deserialize<'de> for StateFragment<Fr>where
Fr: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<Fr> RefUnwindSafe for StateFragment<Fr>where
Fr: RefUnwindSafe,
impl<Fr> Send for StateFragment<Fr>where
Fr: Send,
impl<Fr> Sync for StateFragment<Fr>where
Fr: Sync,
impl<Fr> Unpin for StateFragment<Fr>where
Fr: Unpin,
impl<Fr> UnwindSafe for StateFragment<Fr>where
Fr: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more