pub struct KubernetesSandboxHeartbeatData {
pub active_sessions: i32,
pub idle_pods: i32,
pub namespace: String,
pub status: SandboxHeartbeatStatus,
}Expand description
Kubernetes: pods carrying the sandbox label, in the deployment’s namespace.
JSON schema
{
"description": "Kubernetes: pods carrying the sandbox label, in the deployment's namespace.",
"type": "object",
"required": [
"activeSessions",
"idlePods",
"namespace",
"status"
],
"properties": {
"activeSessions": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"idlePods": {
"description": "Claimed but unused pods waiting in the pool.",
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"namespace": {
"type": "string"
},
"status": {
"$ref": "#/components/schemas/SandboxHeartbeatStatus"
}
}
}Fields§
§active_sessions: i32§idle_pods: i32Claimed but unused pods waiting in the pool.
namespace: String§status: SandboxHeartbeatStatusImplementations§
Trait Implementations§
Source§impl Clone for KubernetesSandboxHeartbeatData
impl Clone for KubernetesSandboxHeartbeatData
Source§fn clone(&self) -> KubernetesSandboxHeartbeatData
fn clone(&self) -> KubernetesSandboxHeartbeatData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for KubernetesSandboxHeartbeatData
impl<'de> Deserialize<'de> for KubernetesSandboxHeartbeatData
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<&KubernetesSandboxHeartbeatData> for KubernetesSandboxHeartbeatData
impl From<&KubernetesSandboxHeartbeatData> for KubernetesSandboxHeartbeatData
Source§fn from(value: &KubernetesSandboxHeartbeatData) -> Self
fn from(value: &KubernetesSandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesSandboxHeartbeatData> for KubernetesSandboxHeartbeatData
impl From<KubernetesSandboxHeartbeatData> for KubernetesSandboxHeartbeatData
Source§fn from(value: KubernetesSandboxHeartbeatData) -> Self
fn from(value: KubernetesSandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KubernetesSandboxHeartbeatData> for KubernetesSandboxHeartbeatData
impl TryFrom<KubernetesSandboxHeartbeatData> for KubernetesSandboxHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: KubernetesSandboxHeartbeatData,
) -> Result<Self, ConversionError>
fn try_from( value: KubernetesSandboxHeartbeatData, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesSandboxHeartbeatData
impl RefUnwindSafe for KubernetesSandboxHeartbeatData
impl Send for KubernetesSandboxHeartbeatData
impl Sync for KubernetesSandboxHeartbeatData
impl Unpin for KubernetesSandboxHeartbeatData
impl UnsafeUnpin for KubernetesSandboxHeartbeatData
impl UnwindSafe for KubernetesSandboxHeartbeatData
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