pub struct CommunityChange {
pub kind: CommunityChangeKind,
pub before: Vec<CommunityId>,
pub after: Vec<CommunityId>,
pub overlap: f64,
pub explanation: String,
}Expand description
Explainable community change between immutable snapshots.
Fields§
§kind: CommunityChangeKindClassified change.
before: Vec<CommunityId>Related older community identities.
after: Vec<CommunityId>Related newer community identities.
overlap: f64Maximum member Jaccard overlap supporting the classification.
explanation: StringBounded deterministic explanation.
Trait Implementations§
Source§impl Clone for CommunityChange
impl Clone for CommunityChange
Source§fn clone(&self) -> CommunityChange
fn clone(&self) -> CommunityChange
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 CommunityChange
impl Debug for CommunityChange
Source§impl<'de> Deserialize<'de> for CommunityChange
impl<'de> Deserialize<'de> for CommunityChange
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
Source§impl JsonSchema for CommunityChange
impl JsonSchema for CommunityChange
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CommunityChange
impl PartialEq for CommunityChange
Source§impl Serialize for CommunityChange
impl Serialize for CommunityChange
impl StructuralPartialEq for CommunityChange
Auto Trait Implementations§
impl Freeze for CommunityChange
impl RefUnwindSafe for CommunityChange
impl Send for CommunityChange
impl Sync for CommunityChange
impl Unpin for CommunityChange
impl UnsafeUnpin for CommunityChange
impl UnwindSafe for CommunityChange
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