pub struct Pod {
pub containers: Option<Vec<Container>>,
pub labels: Option<Vec<Label>>,
pub name: Option<String>,
pub ns: Option<String>,
}Expand description
A Kubernetes Pod.
This type is not used in any activity, and only used as part of another schema.
Fields§
§containers: Option<Vec<Container>>Pod containers associated with this finding, if any.
labels: Option<Vec<Label>>Pod labels. For Kubernetes containers, these are applied to the container.
name: Option<String>Kubernetes Pod name.
ns: Option<String>Kubernetes Pod namespace.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pod
impl<'de> Deserialize<'de> for Pod
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
impl Part for Pod
Auto Trait Implementations§
impl Freeze for Pod
impl RefUnwindSafe for Pod
impl Send for Pod
impl Sync for Pod
impl Unpin for Pod
impl UnwindSafe for Pod
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