pub struct ExternalConnectorDef {
pub protocol: String,
pub env_var: String,
pub default: String,
}Expand description
One [[binaries.external_connectors]] entry — a runtime broker connection.
Fields§
§protocol: StringProtocol identifier, e.g. "mqtt".
env_var: StringEnvironment variable that provides the broker URL at runtime.
default: StringDefault URL when the env var is not set.
Trait Implementations§
Source§impl Clone for ExternalConnectorDef
impl Clone for ExternalConnectorDef
Source§fn clone(&self) -> ExternalConnectorDef
fn clone(&self) -> ExternalConnectorDef
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 ExternalConnectorDef
impl Debug for ExternalConnectorDef
Source§impl<'de> Deserialize<'de> for ExternalConnectorDef
impl<'de> Deserialize<'de> for ExternalConnectorDef
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 ExternalConnectorDef
impl RefUnwindSafe for ExternalConnectorDef
impl Send for ExternalConnectorDef
impl Sync for ExternalConnectorDef
impl Unpin for ExternalConnectorDef
impl UnsafeUnpin for ExternalConnectorDef
impl UnwindSafe for ExternalConnectorDef
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