pub struct DegreeCentralityResult {
pub node_id: String,
pub user_id: Option<String>,
pub in_degree: i64,
pub out_degree: i64,
pub degree: i64,
}Expand description
Degree centrality result for a single node.
Fields§
§node_id: StringInternal node identifier.
user_id: Option<String>User-defined node identifier (from the id property).
in_degree: i64Number of incoming edges.
out_degree: i64Number of outgoing edges.
degree: i64Total degree (in + out).
Trait Implementations§
Source§impl Clone for DegreeCentralityResult
impl Clone for DegreeCentralityResult
Source§fn clone(&self) -> DegreeCentralityResult
fn clone(&self) -> DegreeCentralityResult
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 DegreeCentralityResult
impl Debug for DegreeCentralityResult
Source§impl<'de> Deserialize<'de> for DegreeCentralityResult
impl<'de> Deserialize<'de> for DegreeCentralityResult
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 DegreeCentralityResult
impl RefUnwindSafe for DegreeCentralityResult
impl Send for DegreeCentralityResult
impl Sync for DegreeCentralityResult
impl Unpin for DegreeCentralityResult
impl UnsafeUnpin for DegreeCentralityResult
impl UnwindSafe for DegreeCentralityResult
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