Skip to main content

Crate fauna_api

Crate fauna_api 

Source
Expand description

Rust mirror of the fauna-api SDK in api/node. Every public item here matches an export there; npm run sdk:parity checks the two stay in sync.

Re-exports§

pub use shared::server as live;
pub use shared::schema::Schema;

Modules§

ant
Ant in api/node/src/ant/index.ts.
authentification
billing
calendar
chats
cicada
Cicada in api/node/src/cicada/index.ts.
drive
extensions
Extensions in api/node/src/extensions/index.ts.
friends
groups
inbox
integrations
magpie
Magpie in api/node/src/magpie/index.ts.
maps
marmot
Marmot in api/node/src/marmot/index.ts.
parrot
Parrot in api/node/src/parrot/index.ts.
payments
rooms
shared
termite
Termite in api/node/src/termite/index.ts.
tickets
travel
view
webhooks

Enums§

Error
Every fallible SDK call returns this. Http carries the response body the TypeScript SDK throws as new Error(await response.text()).

Functions§

get_ip
get_port
get_route
get_url
ping
Milliseconds for one round trip to the gateway root.
set_route
throttling_promise
Runs tasks with at most max in flight and returns their results in task order.

Type Aliases§

Result