pub struct MemoryTransaction { /* private fields */ }
Expand description

A transaction for manipulating in-memory-only datastores.

Trait Implementations

Formats the value using the given formatter. Read more
Creates a new vertex. Returns whether the vertex was successfully created - if this is false, it’s because a vertex with the same UUID already exists. Read more
Gets a range of vertices specified by a query. Read more
Deletes existing vertices specified by a query. Read more
Gets the number of vertices in the datastore..
Creates a new edge. If the edge already exists, this will update it with a new update datetime. Returns whether the edge was successfully created - if this is false, it’s because one of the specified vertices is missing. Read more
Gets a range of edges specified by a query. Read more
Deletes a set of edges specified by a query. Read more
Gets the number of edges associated with a vertex. Read more
Gets vertex properties. Read more
Sets a vertex properties. Read more
Deletes vertex properties. Read more
Gets edge properties. Read more
Sets edge properties. Read more
Deletes edge properties. Read more
Creates a new vertex with just a type specification. As opposed to create_vertex, this is used when you do not want to manually specify the vertex’s UUID. Returns the new vertex’s UUID. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.