pub struct GatewayConfig {
pub version: u32,
pub gateway: GatewaySection,
pub tenants: Vec<TenantConfig>,
}Fields§
§version: u32Schema version (must be 1).
gateway: GatewaySection§tenants: Vec<TenantConfig>Implementations§
Source§impl GatewayConfig
impl GatewayConfig
pub fn validate(&self) -> Result<(), WsPrismError>
Trait Implementations§
Source§impl Debug for GatewayConfig
impl Debug for GatewayConfig
Source§impl<'de> Deserialize<'de> for GatewayConfig
impl<'de> Deserialize<'de> for GatewayConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GatewayConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GatewayConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GatewayConfig
impl RefUnwindSafe for GatewayConfig
impl Send for GatewayConfig
impl Sync for GatewayConfig
impl Unpin for GatewayConfig
impl UnwindSafe for GatewayConfig
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