pub struct LocalSandboxHeartbeatData {
pub active_sessions: i32,
pub route_serving: bool,
pub status: SandboxHeartbeatStatus,
}Expand description
Local: containers Docker still holds for this sandbox.
JSON schema
{
"description": "Local: containers Docker still holds for this sandbox.",
"type": "object",
"required": [
"activeSessions",
"routeServing",
"status"
],
"properties": {
"activeSessions": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"routeServing": {
"description": "Whether the loopback route is serving in this process. False after a manager restart until\nthe next tick rebinds it.",
"type": "boolean"
},
"status": {
"$ref": "#/components/schemas/SandboxHeartbeatStatus"
}
}
}Fields§
§active_sessions: i32§route_serving: boolWhether the loopback route is serving in this process. False after a manager restart until the next tick rebinds it.
status: SandboxHeartbeatStatusImplementations§
Source§impl LocalSandboxHeartbeatData
impl LocalSandboxHeartbeatData
pub fn builder() -> LocalSandboxHeartbeatData
Trait Implementations§
Source§impl Clone for LocalSandboxHeartbeatData
impl Clone for LocalSandboxHeartbeatData
Source§impl Debug for LocalSandboxHeartbeatData
impl Debug for LocalSandboxHeartbeatData
Source§impl<'de> Deserialize<'de> for LocalSandboxHeartbeatData
impl<'de> Deserialize<'de> for LocalSandboxHeartbeatData
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<&LocalSandboxHeartbeatData> for LocalSandboxHeartbeatData
impl From<&LocalSandboxHeartbeatData> for LocalSandboxHeartbeatData
Source§fn from(value: &LocalSandboxHeartbeatData) -> Self
fn from(value: &LocalSandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<LocalSandboxHeartbeatData> for LocalSandboxHeartbeatData
impl From<LocalSandboxHeartbeatData> for LocalSandboxHeartbeatData
Source§fn from(value: LocalSandboxHeartbeatData) -> Self
fn from(value: LocalSandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<LocalSandboxHeartbeatData> for LocalSandboxHeartbeatData
impl TryFrom<LocalSandboxHeartbeatData> for LocalSandboxHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LocalSandboxHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: LocalSandboxHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for LocalSandboxHeartbeatData
impl Freeze for LocalSandboxHeartbeatData
impl Move for LocalSandboxHeartbeatData
impl RefUnwindSafe for LocalSandboxHeartbeatData
impl Send for LocalSandboxHeartbeatData
impl Sync for LocalSandboxHeartbeatData
impl Unpin for LocalSandboxHeartbeatData
impl UnsafeUnpin for LocalSandboxHeartbeatData
impl UnwindSafe for LocalSandboxHeartbeatData
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