Enum libzeropool_rs::client::state::Transaction
source · [−]pub enum Transaction<Fr: PrimeField> {
Account(NativeAccount<Fr>),
Note(NativeNote<Fr>),
}
Variants
Account(NativeAccount<Fr>)
Note(NativeNote<Fr>)
Trait Implementations
sourceimpl<Fr: PrimeField> BorshDeserialize for Transaction<Fr>where
NativeAccount<Fr>: BorshDeserialize,
NativeNote<Fr>: BorshDeserialize,
impl<Fr: PrimeField> BorshDeserialize for Transaction<Fr>where
NativeAccount<Fr>: BorshDeserialize,
NativeNote<Fr>: BorshDeserialize,
sourceimpl<Fr: PrimeField> BorshSerialize for Transaction<Fr>where
NativeAccount<Fr>: BorshSerialize,
NativeNote<Fr>: BorshSerialize,
impl<Fr: PrimeField> BorshSerialize for Transaction<Fr>where
NativeAccount<Fr>: BorshSerialize,
NativeNote<Fr>: BorshSerialize,
sourceimpl<Fr: Debug + PrimeField> Debug for Transaction<Fr>
impl<Fr: Debug + PrimeField> Debug for Transaction<Fr>
sourceimpl<Fr: PartialEq + PrimeField> PartialEq<Transaction<Fr>> for Transaction<Fr>
impl<Fr: PartialEq + PrimeField> PartialEq<Transaction<Fr>> for Transaction<Fr>
sourcefn eq(&self, other: &Transaction<Fr>) -> bool
fn eq(&self, other: &Transaction<Fr>) -> bool
impl<Fr: PrimeField> StructuralPartialEq for Transaction<Fr>
Auto Trait Implementations
impl<Fr> RefUnwindSafe for Transaction<Fr>where
Fr: RefUnwindSafe,
impl<Fr> Send for Transaction<Fr>where
Fr: Send,
impl<Fr> Sync for Transaction<Fr>where
Fr: Sync,
impl<Fr> Unpin for Transaction<Fr>where
Fr: Unpin,
impl<Fr> UnwindSafe for Transaction<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