rsiot-components-config 0.0.27

Конфигурация компонентов
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use rsiot_extra_components::cmp_cache::CacheType;
use rsiot_messages_core::IMessage;

/// Конфигурация компонента http-server
#[derive(Clone, Debug)]
pub struct Config<TMessage>
where
    TMessage: IMessage,
{
    /// Порт, через который доступен сервер
    pub port: u16,

    pub cache: CacheType<TMessage>,
}