pub struct MqHost {
pub name: String,
pub host: String,
pub external: String,
pub active: bool,
}
Fields§
§name: String
Display name.
host: String
Internal host name or IP address of the message broker for sylvia-iot-broker to access.
external: String
External host name or IP address of the message broker for developer to access.
active: bool
Is active broker in operation or to be stopped.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MqHost
impl<'de> Deserialize<'de> for MqHost
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 MqHost
impl RefUnwindSafe for MqHost
impl Send for MqHost
impl Sync for MqHost
impl Unpin for MqHost
impl UnwindSafe for MqHost
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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