pub struct Tx<Fr: PrimeField> {
pub input: (Account<Fr>, SizedVec<Note<Fr>, { IN }>),
pub output: (Account<Fr>, SizedVec<Note<Fr>, { OUT }>),
}Fields§
§input: (Account<Fr>, SizedVec<Note<Fr>, { IN }>)§output: (Account<Fr>, SizedVec<Note<Fr>, { OUT }>)Trait Implementations§
Source§impl<Fr: PrimeField> BorshDeserialize for Tx<Fr>where
(Account<Fr>, SizedVec<Note<Fr>, { IN }>): BorshDeserialize,
(Account<Fr>, SizedVec<Note<Fr>, { OUT }>): BorshDeserialize,
impl<Fr: PrimeField> BorshDeserialize for Tx<Fr>where
(Account<Fr>, SizedVec<Note<Fr>, { IN }>): BorshDeserialize,
(Account<Fr>, SizedVec<Note<Fr>, { OUT }>): BorshDeserialize,
Source§impl<Fr: PrimeField> BorshSerialize for Tx<Fr>where
(Account<Fr>, SizedVec<Note<Fr>, { IN }>): BorshSerialize,
(Account<Fr>, SizedVec<Note<Fr>, { OUT }>): BorshSerialize,
impl<Fr: PrimeField> BorshSerialize for Tx<Fr>where
(Account<Fr>, SizedVec<Note<Fr>, { IN }>): BorshSerialize,
(Account<Fr>, SizedVec<Note<Fr>, { OUT }>): BorshSerialize,
Source§impl<'de, Fr: PrimeField> Deserialize<'de> for Tx<Fr>
impl<'de, Fr: PrimeField> Deserialize<'de> for Tx<Fr>
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
Auto Trait Implementations§
impl<Fr> Freeze for Tx<Fr>where
Fr: Freeze,
impl<Fr> RefUnwindSafe for Tx<Fr>where
Fr: RefUnwindSafe,
impl<Fr> Send for Tx<Fr>where
Fr: Send,
impl<Fr> Sync for Tx<Fr>where
Fr: Sync,
impl<Fr> Unpin for Tx<Fr>where
Fr: Unpin,
impl<Fr> UnsafeUnpin for Tx<Fr>where
Fr: UnsafeUnpin,
impl<Fr> UnwindSafe for Tx<Fr>where
Fr: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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