pub struct Config {
pub host: String,
pub port: u16,
pub ssl: bool,
pub nick: String,
}Expand description
Configuration for the IRC client
Fields§
§host: StringThe hostname to connect to
port: u16The port of the IRC server
ssl: boolWhether or not to enable SSL
nick: StringThe nick to connect with
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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