pub struct AttachResult {
pub ip: IpAddr,
pub namespace_guid: Option<String>,
}Expand description
Result of OverlaydRequest::AttachContainer.
Fields§
§ip: IpAddrThe container’s overlay IP.
namespace_guid: Option<String>Windows only: the bare-lowercase HCN namespace GUID the agent embeds in
the compute-system document. None on Linux (no HCN namespace).
Trait Implementations§
Source§impl Clone for AttachResult
impl Clone for AttachResult
Source§fn clone(&self) -> AttachResult
fn clone(&self) -> AttachResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AttachResult
impl Debug for AttachResult
Source§impl<'de> Deserialize<'de> for AttachResult
impl<'de> Deserialize<'de> for AttachResult
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
impl Eq for AttachResult
Source§impl PartialEq for AttachResult
impl PartialEq for AttachResult
Source§fn eq(&self, other: &AttachResult) -> bool
fn eq(&self, other: &AttachResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttachResult
impl Serialize for AttachResult
impl StructuralPartialEq for AttachResult
Auto Trait Implementations§
impl Freeze for AttachResult
impl RefUnwindSafe for AttachResult
impl Send for AttachResult
impl Sync for AttachResult
impl Unpin for AttachResult
impl UnsafeUnpin for AttachResult
impl UnwindSafe for AttachResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.