pub struct DestinationConfig {
pub services: Vec<String>,
pub thing_name: Option<String>,
}Expand description
The destination configuration.
Fields§
§services: Vec<String>A list of service names that identity the target application. The AWS IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The AWS IoT client instantiates the local proxy which uses this information to connect to the destination application.
thing_name: Option<String>The name of the IoT thing to which you want to connect.
Trait Implementations§
Source§impl Clone for DestinationConfig
impl Clone for DestinationConfig
Source§fn clone(&self) -> DestinationConfig
fn clone(&self) -> DestinationConfig
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 DestinationConfig
impl Debug for DestinationConfig
Source§impl Default for DestinationConfig
impl Default for DestinationConfig
Source§fn default() -> DestinationConfig
fn default() -> DestinationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DestinationConfig
impl<'de> Deserialize<'de> for DestinationConfig
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
Source§impl PartialEq for DestinationConfig
impl PartialEq for DestinationConfig
Source§impl Serialize for DestinationConfig
impl Serialize for DestinationConfig
impl StructuralPartialEq for DestinationConfig
Auto Trait Implementations§
impl Freeze for DestinationConfig
impl RefUnwindSafe for DestinationConfig
impl Send for DestinationConfig
impl Sync for DestinationConfig
impl Unpin for DestinationConfig
impl UnwindSafe for DestinationConfig
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