fedimint_core::config

Type Alias ServerModuleConfigGenParamsRegistry

Source
pub type ServerModuleConfigGenParamsRegistry = ModuleRegistry<ConfigGenModuleParams>;
Expand description

Registry that contains the config gen params for all modules

Aliased Type§

struct ServerModuleConfigGenParamsRegistry {
    inner: BTreeMap<u16, (ModuleKind, ConfigGenModuleParams)>,
    state: (),
}

Fields§

§inner: BTreeMap<u16, (ModuleKind, ConfigGenModuleParams)>§state: ()

Trait Implementations§

Source§

impl<'de> Deserialize<'de> for ServerModuleConfigGenParamsRegistry

Source§

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 PartialEq for ServerModuleConfigGenParamsRegistry

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ServerModuleConfigGenParamsRegistry

Source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for ServerModuleConfigGenParamsRegistry