pub struct AgentConfig {
pub role: String,
pub id: Option<String>,
pub host: String,
pub port: u16,
pub protocol: String,
pub username: String,
pub password: String,
pub url_base_path: String,
pub mqtt_client_id: String,
pub auto_connect_enabled: bool,
}Fields§
§role: String§id: Option<String>§host: String§port: u16§protocol: String§username: String§password: String§url_base_path: String§mqtt_client_id: String§auto_connect_enabled: boolTrait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
Returns a copy 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 AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnwindSafe for AgentConfig
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