pub struct TxData<E: Engine> {
pub tx_type: TxType,
pub proof: Proof<E>,
pub tree_proof: Proof<E>,
pub root_after: Num<E::Fr>,
pub delta: Num<E::Fr>,
pub out_commit: Num<E::Fr>,
pub nullifier: Num<E::Fr>,
pub memo: Vec<u8>,
pub extra_data: Vec<u8>,
pub token_id: String,
}Fields§
§tx_type: TxType§proof: Proof<E>§tree_proof: Proof<E>§root_after: Num<E::Fr>§delta: Num<E::Fr>§out_commit: Num<E::Fr>§nullifier: Num<E::Fr>§memo: Vec<u8>§extra_data: Vec<u8>§token_id: StringTrait Implementations§
Source§impl<'de, E: Engine> Deserialize<'de> for TxData<E>
impl<'de, E: Engine> Deserialize<'de> for TxData<E>
Source§fn 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
impl<E: Engine> Eq for TxData<E>
Auto Trait Implementations§
impl<E> Freeze for TxData<E>
impl<E> RefUnwindSafe for TxData<E>
impl<E> Send for TxData<E>
impl<E> Sync for TxData<E>
impl<E> Unpin for TxData<E>
impl<E> UnsafeUnpin for TxData<E>
impl<E> UnwindSafe for TxData<E>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Out, S> FromSeed<S> for Outwhere
S: SeedBoxGen<Out>,
impl<Out, S> FromSeed<S> for Outwhere
S: SeedBoxGen<Out>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more