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§
source§impl PartialEq for ViewPair
impl PartialEq for ViewPair
impl Copy for ViewPair
impl Eq for ViewPair
impl StructuralPartialEq for ViewPair
Auto Trait Implementations§
impl Freeze for ViewPair
impl RefUnwindSafe for ViewPair
impl Send for ViewPair
impl Sync for ViewPair
impl Unpin for ViewPair
impl UnwindSafe for ViewPair
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