pub struct ViewingKey<E: JubjubEngine> {
pub ak: Point<E, PrimeOrder>,
pub nk: Point<E, PrimeOrder>,
}Fields§
§ak: Point<E, PrimeOrder>§nk: Point<E, PrimeOrder>Implementations§
Source§impl<E: JubjubEngine> ViewingKey<E>
impl<E: JubjubEngine> ViewingKey<E>
pub fn rk(&self, ar: E::Fs, params: &E::Params) -> Point<E, PrimeOrder>
pub fn ivk(&self) -> E::Fs
pub fn into_payment_address( &self, diversifier: Diversifier, params: &E::Params, ) -> Option<PaymentAddress<E>>
Auto Trait Implementations§
impl<E> Freeze for ViewingKey<E>
impl<E> RefUnwindSafe for ViewingKey<E>
impl<E> Send for ViewingKey<E>
impl<E> Sync for ViewingKey<E>
impl<E> Unpin for ViewingKey<E>
impl<E> UnwindSafe for ViewingKey<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