pub struct Config {
pub host: String,
pub port: u16,
pub ssl: bool,
pub nick: String,
}
Expand description
Configuration for the IRC client
Fields§
§host: String
The hostname to connect to
port: u16
The port of the IRC server
ssl: bool
Whether or not to enable SSL
nick: String
The 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