Struct ruarango::graph::input::EdgeReplaceConfigBuilder
source · pub struct EdgeReplaceConfigBuilder<T> { /* private fields */ }
Expand description
Builder for Config
.
Implementations§
source§impl<T: Clone> ConfigBuilder<T>
impl<T: Clone> ConfigBuilder<T>
sourcepub fn graph<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn graph<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The graph to define the new edge in
sourcepub fn collection<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn collection<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The edge collection to define the new edge in
sourcepub fn key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The _key
of the edge to delete
sourcepub fn wait_for_sync(&mut self, value: bool) -> &mut Self
pub fn wait_for_sync(&mut self, value: bool) -> &mut Self
Define if the request should wait until synced to disk.
sourcepub fn keep_null(&mut self, value: bool) -> &mut Self
pub fn keep_null(&mut self, value: bool) -> &mut Self
Define if values set to null should be stored. By default (true) the given documents attribute(s) will be set to null. If this parameter is false the attribute(s) will instead be deleted from the document.
sourcepub fn return_old(&mut self, value: bool) -> &mut Self
pub fn return_old(&mut self, value: bool) -> &mut Self
Define if the response should contain the complete old version of the edge.
sourcepub fn return_new(&mut self, value: bool) -> &mut Self
pub fn return_new(&mut self, value: bool) -> &mut Self
Define if the response should contain the complete new version of the edge.
Trait Implementations§
source§impl<T: Clone> Clone for ConfigBuilder<T>
impl<T: Clone> Clone for ConfigBuilder<T>
source§fn clone(&self) -> ConfigBuilder<T>
fn clone(&self) -> ConfigBuilder<T>
Returns a copy 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 more