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 ChannelImplementations
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.
pub fn new_node_specified(
&self,
node_index: &str,
unix_time: u64,
contents: &NodeContents
) -> Node
pub fn new_node_specified(
&self,
node_index: &str,
unix_time: u64,
contents: &NodeContents
) -> NodeCreate 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 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
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GraphStore<'a>impl<'a> Send for GraphStore<'a>impl<'a> Sync for GraphStore<'a>impl<'a> Unpin for GraphStore<'a>impl<'a> !UnwindSafe for GraphStore<'a>Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V