pub struct RoutesConfig {
pub project: Option<ProjectConfig>,
pub deployment: Option<DeploymentConfig>,
pub route: HashMap<String, RouteConfig>,
pub topic: Option<HashMap<String, TopicConfig>>,
pub db: Option<HashMap<String, DbConfig>>,
pub auth: Option<HashMap<String, AuthHandlerConfig>>,
}Fields§
§project: Option<ProjectConfig>§deployment: Option<DeploymentConfig>§route: HashMap<String, RouteConfig>§topic: Option<HashMap<String, TopicConfig>>§db: Option<HashMap<String, DbConfig>>§auth: Option<HashMap<String, AuthHandlerConfig>>Trait Implementations§
Source§impl Clone for RoutesConfig
impl Clone for RoutesConfig
Source§fn clone(&self) -> RoutesConfig
fn clone(&self) -> RoutesConfig
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 RoutesConfig
impl Debug for RoutesConfig
Source§impl<'de> Deserialize<'de> for RoutesConfig
impl<'de> Deserialize<'de> for RoutesConfig
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 RoutesConfig
impl RefUnwindSafe for RoutesConfig
impl Send for RoutesConfig
impl Sync for RoutesConfig
impl Unpin for RoutesConfig
impl UnsafeUnpin for RoutesConfig
impl UnwindSafe for RoutesConfig
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