pub struct ModulesConfig {
pub forward: bool,
pub backward: bool,
pub cns: bool,
pub api: bool,
pub data: bool,
pub websocket: bool,
pub grpc: bool,
pub metrics: bool,
}Fields§
§forward: boolEnable forward module
backward: boolEnable backward module
cns: boolEnable CNS module
api: boolEnable API module
data: boolEnable Data module
websocket: boolEnable WebSocket streaming
grpc: boolEnable gRPC API
metrics: boolEnable Prometheus metrics
Trait Implementations§
Source§impl Clone for ModulesConfig
impl Clone for ModulesConfig
Source§fn clone(&self) -> ModulesConfig
fn clone(&self) -> ModulesConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModulesConfig
impl Debug for ModulesConfig
Source§impl Default for ModulesConfig
impl Default for ModulesConfig
Source§impl<'de> Deserialize<'de> for ModulesConfigwhere
ModulesConfig: Default,
impl<'de> Deserialize<'de> for ModulesConfigwhere
ModulesConfig: Default,
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
Auto Trait Implementations§
impl Freeze for ModulesConfig
impl RefUnwindSafe for ModulesConfig
impl Send for ModulesConfig
impl Sync for ModulesConfig
impl Unpin for ModulesConfig
impl UnsafeUnpin for ModulesConfig
impl UnwindSafe for ModulesConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more