pub struct AnalyzeOptions {
pub by: AnalyzeAlgorithm,
pub via: Option<String>,
pub directed: bool,
pub weight: Option<String>,
pub k: Option<usize>,
pub partition_property: Option<String>,
}Expand description
Options for GraphForge::analyze.
Fields§
§by: AnalyzeAlgorithmAlgorithm name (e.g. "minimum_spanning_tree", "is_dag").
via: Option<String>Optional relationship type filter.
directed: boolWhether to treat edges as directed.
weight: Option<String>Optional edge-weight property name.
k: Option<usize>Requested result count for analyses that enumerate multiple results.
partition_property: Option<String>Optional node property that identifies a graph partition.
Trait Implementations§
Source§impl Clone for AnalyzeOptions
impl Clone for AnalyzeOptions
Source§fn clone(&self) -> AnalyzeOptions
fn clone(&self) -> AnalyzeOptions
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 AnalyzeOptions
impl Debug for AnalyzeOptions
Auto Trait Implementations§
impl Freeze for AnalyzeOptions
impl RefUnwindSafe for AnalyzeOptions
impl Send for AnalyzeOptions
impl Sync for AnalyzeOptions
impl Unpin for AnalyzeOptions
impl UnsafeUnpin for AnalyzeOptions
impl UnwindSafe for AnalyzeOptions
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