pub struct SubgraphConfig {
pub max_triples: usize,
pub include_internal_edges: bool,
pub include_external_edges: bool,
pub score_weighted: bool,
}Expand description
Subgraph extraction configuration
Fields§
§max_triples: usizeMaximum number of triples to include
include_internal_edges: boolInclude all edges between selected nodes
include_external_edges: boolInclude edges to/from external nodes
score_weighted: boolPrioritize triples with higher-scored entities
Trait Implementations§
Source§impl Clone for SubgraphConfig
impl Clone for SubgraphConfig
Source§fn clone(&self) -> SubgraphConfig
fn clone(&self) -> SubgraphConfig
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 SubgraphConfig
impl Debug for SubgraphConfig
Auto Trait Implementations§
impl Freeze for SubgraphConfig
impl RefUnwindSafe for SubgraphConfig
impl Send for SubgraphConfig
impl Sync for SubgraphConfig
impl Unpin for SubgraphConfig
impl UnwindSafe for SubgraphConfig
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