pub struct EndpointResource {
pub endpoint_id: Option<String>,
pub ipv4_address: Option<String>,
pub ipv6_address: Option<String>,
pub mac_address: Option<String>,
pub name: Option<String>,
}
Expand description
EndpointResource : EndpointResource contains network resources allocated and used for a container in a network
Fields§
§endpoint_id: Option<String>
§ipv4_address: Option<String>
§ipv6_address: Option<String>
§mac_address: Option<String>
§name: Option<String>
Implementations§
Source§impl EndpointResource
impl EndpointResource
Sourcepub fn new() -> EndpointResource
pub fn new() -> EndpointResource
EndpointResource contains network resources allocated and used for a container in a network
Trait Implementations§
Source§impl Clone for EndpointResource
impl Clone for EndpointResource
Source§fn clone(&self) -> EndpointResource
fn clone(&self) -> EndpointResource
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 EndpointResource
impl Debug for EndpointResource
Source§impl Default for EndpointResource
impl Default for EndpointResource
Source§fn default() -> EndpointResource
fn default() -> EndpointResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointResource
impl<'de> Deserialize<'de> for EndpointResource
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 EndpointResource
impl PartialEq for EndpointResource
Source§impl Serialize for EndpointResource
impl Serialize for EndpointResource
impl StructuralPartialEq for EndpointResource
Auto Trait Implementations§
impl Freeze for EndpointResource
impl RefUnwindSafe for EndpointResource
impl Send for EndpointResource
impl Sync for EndpointResource
impl Unpin for EndpointResource
impl UnwindSafe for EndpointResource
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