pub struct ZelloConfig {
pub username: Option<String>,
pub password: Option<String>,
pub channel: String,
pub auth_token: Option<String>,
}Expand description
Configuration for Zello client
Fields§
§username: Option<String>Username for authentication
password: Option<String>Password for authentication
channel: StringChannel to join
auth_token: Option<String>Optional authentication token (alternative to username/password)
Implementations§
Source§impl ZelloConfig
impl ZelloConfig
Trait Implementations§
Source§impl Clone for ZelloConfig
impl Clone for ZelloConfig
Source§fn clone(&self) -> ZelloConfig
fn clone(&self) -> ZelloConfig
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 moreAuto Trait Implementations§
impl Freeze for ZelloConfig
impl RefUnwindSafe for ZelloConfig
impl Send for ZelloConfig
impl Sync for ZelloConfig
impl Unpin for ZelloConfig
impl UnwindSafe for ZelloConfig
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