pub struct AllocatedSharedResources {
pub disk_mb: Option<i64>,
pub networks: Option<Vec<NetworkResource>>,
pub ports: Option<Vec<PortMapping>>,
}
Fields§
§disk_mb: Option<i64>
§networks: Option<Vec<NetworkResource>>
§ports: Option<Vec<PortMapping>>
Trait Implementations§
source§fn clone(&self) -> AllocatedSharedResources
fn clone(&self) -> AllocatedSharedResources
Returns a copy 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§fn default() -> AllocatedSharedResources
fn default() -> AllocatedSharedResources
Returns the “default value” for a type. Read more
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§fn eq(&self, other: &AllocatedSharedResources) -> bool
fn eq(&self, other: &AllocatedSharedResources) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more