pub struct KnowledgeGraphReducerBundleOptions {
pub name: Option<String>,
pub assertions: Node<Vec<KnowledgeAssertion>>,
pub policy: Option<Node<KnowledgeGraphPolicy>>,
}Expand description
KnowledgeGraphReducerBundleOptions data container.
Fields§
§name: Option<String>name field for name.
assertions: Node<Vec<KnowledgeAssertion>>assertions field for assertions.
policy: Option<Node<KnowledgeGraphPolicy>>policy field for policy.
Implementations§
Source§impl KnowledgeGraphReducerBundleOptions
impl KnowledgeGraphReducerBundleOptions
Sourcepub fn new(assertions: Node<Vec<KnowledgeAssertion>>) -> Self
pub fn new(assertions: Node<Vec<KnowledgeAssertion>>) -> Self
Creates or computes new.
Sourcepub fn with_policy(self, policy: Node<KnowledgeGraphPolicy>) -> Self
pub fn with_policy(self, policy: Node<KnowledgeGraphPolicy>) -> Self
Updates or reads with_policy.
Trait Implementations§
Source§impl Clone for KnowledgeGraphReducerBundleOptions
impl Clone for KnowledgeGraphReducerBundleOptions
Source§fn clone(&self) -> KnowledgeGraphReducerBundleOptions
fn clone(&self) -> KnowledgeGraphReducerBundleOptions
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 moreAuto Trait Implementations§
impl Freeze for KnowledgeGraphReducerBundleOptions
impl !RefUnwindSafe for KnowledgeGraphReducerBundleOptions
impl !Send for KnowledgeGraphReducerBundleOptions
impl !Sync for KnowledgeGraphReducerBundleOptions
impl Unpin for KnowledgeGraphReducerBundleOptions
impl UnsafeUnpin for KnowledgeGraphReducerBundleOptions
impl !UnwindSafe for KnowledgeGraphReducerBundleOptions
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