pub struct IdentityCluster {
pub id: String,
pub members: Vec<ObservedProfile>,
pub confidence: u8,
pub reasons: Vec<ClusterReason>,
pub uncertain: bool,
}Expand description
A deterministic candidate group of profiles that likely belong together.
Fields§
§id: StringStable deterministic identifier within this clustering result.
members: Vec<ObservedProfile>Observed profiles included in the cluster.
confidence: u8Cluster-level confidence in 0..=100, separate from per-profile
verdict confidence.
reasons: Vec<ClusterReason>Evidence reasons that linked the cluster members.
uncertain: boolWhether the cluster is linked only by weak or ambiguous evidence.
Trait Implementations§
Source§impl Clone for IdentityCluster
impl Clone for IdentityCluster
Source§fn clone(&self) -> IdentityCluster
fn clone(&self) -> IdentityCluster
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IdentityCluster
impl Debug for IdentityCluster
Source§impl<'de> Deserialize<'de> for IdentityCluster
impl<'de> Deserialize<'de> for IdentityCluster
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
impl Eq for IdentityCluster
Source§impl PartialEq for IdentityCluster
impl PartialEq for IdentityCluster
Source§fn eq(&self, other: &IdentityCluster) -> bool
fn eq(&self, other: &IdentityCluster) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IdentityCluster
impl Serialize for IdentityCluster
impl StructuralPartialEq for IdentityCluster
Auto Trait Implementations§
impl Freeze for IdentityCluster
impl RefUnwindSafe for IdentityCluster
impl Send for IdentityCluster
impl Sync for IdentityCluster
impl Unpin for IdentityCluster
impl UnsafeUnpin for IdentityCluster
impl UnwindSafe for IdentityCluster
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.