pub struct ObservedApplicationImage {
pub container: String,
pub digest: Option<String>,
pub image: String,
pub workload: String,
}Expand description
A container image running in one observed application workload.
JSON schema
{
"description": "A container image running in one observed application workload.",
"type": "object",
"required": [
"container",
"image",
"workload"
],
"properties": {
"container": {
"description": "Container name within the workload.",
"type": "string"
},
"digest": {
"description": "Registry manifest digest in `sha256:<hex>` form, when the runtime\nreports one.",
"type": [
"string",
"null"
]
},
"image": {
"description": "Image reference reported by the container runtime.",
"type": "string"
},
"workload": {
"description": "Inventory identity of the workload, matching the `rawIdentity` of its\nobserved resource sample (for example `apps/v1:Deployment:shop:api`).",
"type": "string"
}
}
}Fields§
§container: StringContainer name within the workload.
digest: Option<String>Registry manifest digest in sha256:<hex> form, when the runtime
reports one.
image: StringImage reference reported by the container runtime.
workload: StringInventory identity of the workload, matching the rawIdentity of its
observed resource sample (for example apps/v1:Deployment:shop:api).
Implementations§
Source§impl ObservedApplicationImage
impl ObservedApplicationImage
pub fn builder() -> ObservedApplicationImage
Trait Implementations§
Source§impl Clone for ObservedApplicationImage
impl Clone for ObservedApplicationImage
Source§impl Debug for ObservedApplicationImage
impl Debug for ObservedApplicationImage
Source§impl<'de> Deserialize<'de> for ObservedApplicationImage
impl<'de> Deserialize<'de> for ObservedApplicationImage
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 From<&ObservedApplicationImage> for ObservedApplicationImage
impl From<&ObservedApplicationImage> for ObservedApplicationImage
Source§fn from(value: &ObservedApplicationImage) -> Self
fn from(value: &ObservedApplicationImage) -> Self
Converts to this type from the input type.
Source§impl From<ObservedApplicationImage> for ObservedApplicationImage
impl From<ObservedApplicationImage> for ObservedApplicationImage
Source§fn from(value: ObservedApplicationImage) -> Self
fn from(value: ObservedApplicationImage) -> Self
Converts to this type from the input type.
Source§impl Serialize for ObservedApplicationImage
impl Serialize for ObservedApplicationImage
Source§impl TryFrom<ObservedApplicationImage> for ObservedApplicationImage
impl TryFrom<ObservedApplicationImage> for ObservedApplicationImage
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ObservedApplicationImage) -> Result<Self, ConversionError>
fn try_from(value: ObservedApplicationImage) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ObservedApplicationImage
impl Freeze for ObservedApplicationImage
impl RefUnwindSafe for ObservedApplicationImage
impl Send for ObservedApplicationImage
impl Sync for ObservedApplicationImage
impl Unpin for ObservedApplicationImage
impl UnsafeUnpin for ObservedApplicationImage
impl UnwindSafe for ObservedApplicationImage
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