pub struct WebConfig {
pub enabled: bool,
pub port: u16,
}Expand description
Web visualization configuration.
Fields§
§enabled: boolWhether web visualization is enabled.
port: u16Web server port.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebConfig
impl<'de> Deserialize<'de> for WebConfig
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 WebConfig
impl RefUnwindSafe for WebConfig
impl Send for WebConfig
impl Sync for WebConfig
impl Unpin for WebConfig
impl UnsafeUnpin for WebConfig
impl UnwindSafe for WebConfig
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