pub struct PodSandbox {
pub id: u64,
pub name: String,
pub namespace: String,
pub state: PodSandboxState,
pub network_config: NetworkConfig,
pub created_tick: u64,
pub labels: BTreeMap<String, String>,
pub annotations: BTreeMap<String, String>,
}Expand description
A pod sandbox groups containers with shared namespaces and networking.
Fields§
§id: u64Unique sandbox identifier.
name: StringHuman-readable name.
namespace: StringKubernetes namespace.
state: PodSandboxStateCurrent state.
network_config: NetworkConfigNetwork configuration.
created_tick: u64Tick when the sandbox was created.
labels: BTreeMap<String, String>Labels (key-value metadata).
annotations: BTreeMap<String, String>Annotations.
Trait Implementations§
Source§impl Clone for PodSandbox
impl Clone for PodSandbox
Source§fn clone(&self) -> PodSandbox
fn clone(&self) -> PodSandbox
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PodSandbox
impl RefUnwindSafe for PodSandbox
impl Send for PodSandbox
impl Sync for PodSandbox
impl Unpin for PodSandbox
impl UnwindSafe for PodSandbox
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)