pub struct TerseCommunity {
pub id: usize,
pub members: Vec<TerseCommunityMember>,
pub modularity_contribution: f64,
}Fields§
§id: usize§members: Vec<TerseCommunityMember>§modularity_contribution: f64Implementations§
Source§impl TerseCommunity
impl TerseCommunity
pub fn from_community(community: &Community, top_n: usize) -> Self
Trait Implementations§
Source§impl Clone for TerseCommunity
impl Clone for TerseCommunity
Source§fn clone(&self) -> TerseCommunity
fn clone(&self) -> TerseCommunity
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 TerseCommunity
impl Debug for TerseCommunity
Source§impl<'de> Deserialize<'de> for TerseCommunity
impl<'de> Deserialize<'de> for TerseCommunity
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 TerseCommunity
impl RefUnwindSafe for TerseCommunity
impl Send for TerseCommunity
impl Sync for TerseCommunity
impl Unpin for TerseCommunity
impl UnsafeUnpin for TerseCommunity
impl UnwindSafe for TerseCommunity
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