pub struct ViewPair {
pub view: PrivateKey,
pub spend: PublicKey,
}
Expand description
View pair to scan transaction outputs and retreive amounts, but can’t spend outputs.
Fields
view: PrivateKey
The private view key needed to recognize owned outputs and amounts.
spend: PublicKey
The public spend key needed to recognize owned outputs and amounts.
Trait Implementations
impl Copy for ViewPair
impl Eq for ViewPair
impl StructuralEq for ViewPair
impl StructuralPartialEq for ViewPair
Auto Trait Implementations
impl RefUnwindSafe for ViewPair
impl Send for ViewPair
impl Sync for ViewPair
impl Unpin for ViewPair
impl UnwindSafe for ViewPair
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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