pub struct NeuroLinkConfig {
pub enabled: bool,
pub host: String,
pub port: u16,
pub allow_from: Vec<String>,
}Expand description
Neuro-link (WebSocket server) channel configuration
Fields§
§enabled: bool§host: String§port: u16§allow_from: Vec<String>Trait Implementations§
Source§impl Clone for NeuroLinkConfig
impl Clone for NeuroLinkConfig
Source§fn clone(&self) -> NeuroLinkConfig
fn clone(&self) -> NeuroLinkConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 NeuroLinkConfig
impl Debug for NeuroLinkConfig
Source§impl Default for NeuroLinkConfig
impl Default for NeuroLinkConfig
Source§impl<'de> Deserialize<'de> for NeuroLinkConfig
impl<'de> Deserialize<'de> for NeuroLinkConfig
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 NeuroLinkConfig
impl RefUnwindSafe for NeuroLinkConfig
impl Send for NeuroLinkConfig
impl Sync for NeuroLinkConfig
impl Unpin for NeuroLinkConfig
impl UnsafeUnpin for NeuroLinkConfig
impl UnwindSafe for NeuroLinkConfig
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