Crate dsnp_graph_config
source ·Expand description
Config module contains all the settings and different environments that is supported by the Graph SDk
Modules
- Builder utility to help creating a new Config
- Errors for graph-sdk crate
Macros
- Macro to log a Result::Err.
- Macro to replicate
Option<T>::ok_or
, but logging if the returned Result is an Err variant.
Structs
- Config This is used to configure the graph state
- Mainnet
Config
- Schema for private graph chunk
- Schema for public graph chunk
- Schema for public graph
- Schema for public key
- Testnet Rococo
Config
- Schema config This is used to map schema id to dsnp version and connection type
- Testnet Paseo
Config
Enums
- Different connection type in social graph
- Supported Dsnp Versions
- Different environments supported by graph sdk
- Graph Key type
- Privacy Type of the graph
Constants
- a list of all supported Graphs and connections types
Traits
- a common trait to allow checks for api input types
Type Aliases
- DsnpUserId type
- PageId type
- SchemaId type