Struct docker_api::models::DistributionInspect
source · pub struct DistributionInspect {
pub descriptor: OciDescriptor,
pub platforms: Vec<OciPlatform, Global>,
}
Expand description
Describes the result obtained from contacting the registry to retrieve image metadata.
Fields§
§descriptor: OciDescriptor
§platforms: Vec<OciPlatform, Global>
An array containing all platforms supported by the image.
Trait Implementations§
source§impl Clone for DistributionInspect
impl Clone for DistributionInspect
source§fn clone(&self) -> DistributionInspect
fn clone(&self) -> DistributionInspect
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§impl Debug for DistributionInspect
impl Debug for DistributionInspect
source§impl<'de> Deserialize<'de> for DistributionInspect
impl<'de> Deserialize<'de> for DistributionInspect
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DistributionInspect, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DistributionInspect, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<DistributionInspect> for DistributionInspect
impl PartialEq<DistributionInspect> for DistributionInspect
source§fn eq(&self, other: &DistributionInspect) -> bool
fn eq(&self, other: &DistributionInspect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DistributionInspect
impl Serialize for DistributionInspect
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more