Struct ruarango::graph::input::UpdateVertexConfigBuilder
source · pub struct UpdateVertexConfigBuilder<T> { /* private fields */ }
Expand description
Builder for Config
.
Implementations§
source§impl<T: Clone> ConfigBuilder<T>
impl<T: Clone> ConfigBuilder<T>
sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The name of the graph where the vertex to update is
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 name of the collection where the vertex to update is
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 vertex to update
sourcepub fn wait_for_sync(&mut self, value: bool) -> &mut Self
pub fn wait_for_sync(&mut self, value: bool) -> &mut Self
Wait until the graph has been 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 vertex attribute(s) will be set to null. If this parameter is false the attribute(s) will instead be deleted from the vertex.
sourcepub fn return_old(&mut self, value: bool) -> &mut Self
pub fn return_old(&mut self, value: bool) -> &mut Self
Return the old vertex in the response
sourcepub fn return_new(&mut self, value: bool) -> &mut Self
pub fn return_new(&mut self, value: bool) -> &mut Self
Return the new vertex in the response
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