Crate rustyspanner[−][src]
A Rust RPC Client for Cloud Spanner based on Google's Python RPC Client for Cloud Spanner
This crate provides a number of core abstractions to work with the RPC Cloud Spanner API.
Authentication
To authenticate this application this client uses Google's Application Default Credentials to find your application's credentials.
Usage
This crate is on crates.io and can be
used by adding rustyspanner
to your dependencies in your project's Cargo.toml
.
[dependencies]
rustyspanner = "0.1.0"
and this to your crate root:
extern crate rustyspanner;
The main abstraction is struct Client
used manage connect to Instance
Admin API & Database Admin API.
use rustyspanner::client::Client; let id = String::from("project_id"); let client = Client::new(id);
Modules
batch | |
client | |
database | |
instance | |
keyset | |
operation | |
session | |
snapshot | |
status | |
streamed | |
transaction |