Struct ceramic_config::Config
source · pub struct Config {
pub ipfs: Ipfs,
pub state_store: StateStore,
pub http_api: HttpApi,
pub network: Network,
pub anchor: Anchor,
pub indexing: Indexing,
pub did_resolvers: DidResolvers,
pub node: Node,
pub logger: Logger,
pub metrics: Metrics,
}Fields§
§ipfs: Ipfs§state_store: StateStore§http_api: HttpApi§network: Network§anchor: Anchor§indexing: Indexing§did_resolvers: DidResolvers§node: Node§logger: Logger§metrics: MetricsImplementations§
source§impl Config
impl Config
pub fn ipfs(&self) -> WasmIpfs
pub fn cors_allowed_origins(&self) -> Vec<JsValue>
pub fn admin_dids(&self) -> Vec<JsValue>
pub fn state_store(&self) -> WasmStateStore
pub fn eth_resolver_options(&self) -> Option<String>
pub fn logger(&self) -> WasmLogger
pub fn allows_sqlite(&self) -> bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromWasmAbi for Config
impl FromWasmAbi for Config
source§impl Into<DaemonConfig> for Config
impl Into<DaemonConfig> for Config
source§fn into(self) -> DaemonConfig
fn into(self) -> DaemonConfig
Converts this type into the (usually inferred) input type.
source§impl IntoWasmAbi for Config
impl IntoWasmAbi for Config
source§impl LongRefFromWasmAbi for Config
impl LongRefFromWasmAbi for Config
source§impl OptionFromWasmAbi for Config
impl OptionFromWasmAbi for Config
source§impl OptionIntoWasmAbi for Config
impl OptionIntoWasmAbi for Config
source§impl RefFromWasmAbi for Config
impl RefFromWasmAbi for Config
source§impl RefMutFromWasmAbi for Config
impl RefMutFromWasmAbi for Config
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.