pub struct CreateVertexConfigBuilder<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 to add the vertex to
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 to add the vertex to
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 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 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<T> Freeze for ConfigBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConfigBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for ConfigBuilder<T>where
T: Send,
impl<T> Sync for ConfigBuilder<T>where
T: Sync,
impl<T> Unpin for ConfigBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for ConfigBuilder<T>where
T: UnwindSafe,
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