Struct ruarango::graph::input::CreateVertexCollectionBuilder
source · pub struct CreateVertexCollectionBuilder { /* private fields */ }
Expand description
Builder for Collection
.
Implementations§
source§impl CollectionBuilder
impl CollectionBuilder
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 vertex collection to add to the graph
sourcepub fn build(&self) -> Result<Collection, CollectionBuilderError>
pub fn build(&self) -> Result<Collection, CollectionBuilderError>
Trait Implementations§
source§impl Clone for CollectionBuilder
impl Clone for CollectionBuilder
source§fn clone(&self) -> CollectionBuilder
fn clone(&self) -> CollectionBuilder
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