Struct rsmgp_sys::memgraph::Memgraph[][src]

pub struct Memgraph { /* fields omitted */ }
Expand description

Main object to interact with Memgraph instance.

Implementations

Creates a new object with all underlying data set to null. Used for the testing purposes.

Returns pointer to the object with all arguments passed to the procedure call.

Returns pointer to the object with graph data.

Returns pointer to the object where results could be stored.

Returns pointer to the memory object for advanced memory control.

Returns pointer to the module object.

Creates a new result record.

Keep this object on the stack and add data that will be returned to Memgraph / client during/after the procedure call.

Registers a new read procedure.

  • proc_ptr - Identifier of the top level C function that represents the procedure.
  • name - A string that will be registered as a procedure name inside Memgraph instance.
  • result_fields - An array of all ResultFieldTypes, each one define by FieldType.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.