pub struct PrivacyAnalysis {
pub equal_outputs: usize,
pub unique_amounts: usize,
pub anonymity_set: usize,
pub has_change: bool,
pub score: u8,
}Expand description
Analyze outputs for privacy.
Fields§
§equal_outputs: usizeNumber of equal outputs
unique_amounts: usizeUnique amounts
anonymity_set: usizeAnonymity set size (equal outputs)
has_change: boolHas change outputs (reduces privacy)
score: u8Privacy score (0-100)
Trait Implementations§
Source§impl Clone for PrivacyAnalysis
impl Clone for PrivacyAnalysis
Source§fn clone(&self) -> PrivacyAnalysis
fn clone(&self) -> PrivacyAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PrivacyAnalysis
impl RefUnwindSafe for PrivacyAnalysis
impl Send for PrivacyAnalysis
impl Sync for PrivacyAnalysis
impl Unpin for PrivacyAnalysis
impl UnwindSafe for PrivacyAnalysis
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