pub struct CommunitySummary {
pub id: String,
pub summary: String,
pub entities: Vec<String>,
pub representative_triples: Vec<Triple>,
pub level: u32,
pub modularity: f64,
}Expand description
Community summary for hierarchical retrieval
Fields§
§id: StringCommunity identifier
summary: StringHuman-readable summary of the community
entities: Vec<String>Member entities in this community
representative_triples: Vec<Triple>Representative triples from this community
level: u32Community level in hierarchy (0 = leaf, higher = more abstract)
modularity: f64Modularity score
Trait Implementations§
Source§impl Clone for CommunitySummary
impl Clone for CommunitySummary
Source§fn clone(&self) -> CommunitySummary
fn clone(&self) -> CommunitySummary
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 moreSource§impl Debug for CommunitySummary
impl Debug for CommunitySummary
Source§impl<'de> Deserialize<'de> for CommunitySummary
impl<'de> Deserialize<'de> for CommunitySummary
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
Auto Trait Implementations§
impl Freeze for CommunitySummary
impl RefUnwindSafe for CommunitySummary
impl Send for CommunitySummary
impl Sync for CommunitySummary
impl Unpin for CommunitySummary
impl UnwindSafe for CommunitySummary
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