pub struct CommunityInfo {
pub id: usize,
pub nodes: Vec<String>,
pub cohesion: f64,
pub label: Option<String>,
}Fields§
§id: usize§nodes: Vec<String>§cohesion: f64§label: Option<String>Trait Implementations§
Source§impl Clone for CommunityInfo
impl Clone for CommunityInfo
Source§fn clone(&self) -> CommunityInfo
fn clone(&self) -> CommunityInfo
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 CommunityInfo
impl Debug for CommunityInfo
Source§impl<'de> Deserialize<'de> for CommunityInfo
impl<'de> Deserialize<'de> for CommunityInfo
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 CommunityInfo
impl RefUnwindSafe for CommunityInfo
impl Send for CommunityInfo
impl Sync for CommunityInfo
impl Unpin for CommunityInfo
impl UnsafeUnpin for CommunityInfo
impl UnwindSafe for CommunityInfo
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