Struct urbit_http_api::graphstore::GraphStore[][src]

pub struct GraphStore<'a> {
    pub channel: &'a mut Channel,
}
Expand description

A struct which exposes Graph Store functionality

Fields

channel: &'a mut Channel

Implementations

Create a new Graph Store node using defaults from the connected ship and local time. This is a wrapper method around Node::new() which fills out a lot of boilerplate.

Create a new Graph Store node using a specified index and creation time using the connected ship as author

Add node to Graph Store

Add node to Graph Store via spider thread

Remove nodes from Graph Store using the provided list of indices

Acquire a node from Graph Store

Acquire a subset of children of a node from Graph Store by specifying the start and end indices of the subset children.

Create a new graph on the connected Urbit ship that is managed (meaning associated with a specific group)

Create a new graph on the connected Urbit ship that is unmanaged (meaning not associated with any group)

Acquire a graph from Graph Store

Acquire a subset of a graph from Graph Store by specifying the start and end indices of the subset of the graph.

Delete graph from Graph Store

Leave graph in Graph Store

Archive a graph in Graph Store

Unarchive a graph in Graph Store

Add a tag to a graph

Remove a tag from a graph

Performs a scry to get all keys

Performs a scry to get all tags

Performs a scry to get all tags

Acquire the time the update log of a given resource was last updated

Acquire the update log for a given resource

Acquire a subset of the update log for a given resource

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. 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.