pub struct MutatorOptions {
pub autocreate_card: bool,
pub autocreate_widget: bool,
pub ontology_validator: Option<OntologyValidator>,
pub skip_publication: bool,
}Expand description
Options for the GraphMutator
Fields§
§autocreate_card: boolAutomatically create cards for new nodegroups
autocreate_widget: boolAutomatically add default widgets to cards
ontology_validator: Option<OntologyValidator>Optional ontology validator for class/property validation
skip_publication: boolSkip stamping a new publication ID on the graph. Useful when applying collection assignments to a branch that has already been captured by a resource model via add_subgraph.
Trait Implementations§
Source§impl Clone for MutatorOptions
impl Clone for MutatorOptions
Source§fn clone(&self) -> MutatorOptions
fn clone(&self) -> MutatorOptions
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 MutatorOptions
impl Debug for MutatorOptions
Source§impl Default for MutatorOptions
impl Default for MutatorOptions
Source§impl From<MutationRequestOptions> for MutatorOptions
impl From<MutationRequestOptions> for MutatorOptions
Source§fn from(opts: MutationRequestOptions) -> Self
fn from(opts: MutationRequestOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MutatorOptions
impl RefUnwindSafe for MutatorOptions
impl Send for MutatorOptions
impl Sync for MutatorOptions
impl Unpin for MutatorOptions
impl UnsafeUnpin for MutatorOptions
impl UnwindSafe for MutatorOptions
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