pub struct SampledSubgraph {
pub nodes: HashSet<String>,
pub edges: HashSet<(String, String)>,
pub sampling_method: String,
}Expand description
A sampled subgraph containing nodes and edges
Fields§
§nodes: HashSet<String>§edges: HashSet<(String, String)>§sampling_method: StringTrait Implementations§
Source§impl Clone for SampledSubgraph
impl Clone for SampledSubgraph
Source§fn clone(&self) -> SampledSubgraph
fn clone(&self) -> SampledSubgraph
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SampledSubgraph
impl RefUnwindSafe for SampledSubgraph
impl Send for SampledSubgraph
impl Sync for SampledSubgraph
impl Unpin for SampledSubgraph
impl UnwindSafe for SampledSubgraph
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more