pub struct ContainerData {
pub format: String,
pub image_ref: String,
pub layers: Vec<ContainerLayer>,
pub entrypoint: Vec<String>,
pub cmd: Vec<String>,
pub environment: Vec<EnvVar>,
pub exposed_ports: Vec<String>,
pub labels: HashMap<String, String>,
pub architecture: Option<String>,
pub os: String,
}Expand description
Container-specific data
Fields§
§format: String§image_ref: String§layers: Vec<ContainerLayer>§entrypoint: Vec<String>§cmd: Vec<String>§environment: Vec<EnvVar>§exposed_ports: Vec<String>§labels: HashMap<String, String>§architecture: Option<String>§os: StringTrait Implementations§
Source§impl Clone for ContainerData
impl Clone for ContainerData
Source§fn clone(&self) -> ContainerData
fn clone(&self) -> ContainerData
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 ContainerData
impl Debug for ContainerData
Source§impl<'de> Deserialize<'de> for ContainerData
impl<'de> Deserialize<'de> for ContainerData
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 ContainerData
impl RefUnwindSafe for ContainerData
impl Send for ContainerData
impl Sync for ContainerData
impl Unpin for ContainerData
impl UnwindSafe for ContainerData
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