pub struct CustomHeartbeatData {
pub details: HashMap<String, Value>,
pub status: CustomHeartbeatStatus,
}Expand description
CustomHeartbeatData
JSON schema
{
"type": "object",
"required": [
"status"
],
"properties": {
"details": {
"description": "Type-specific fields the extension's controller reports, which Alien does not read.",
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/Value"
}
},
"status": {
"$ref": "#/components/schemas/CustomHeartbeatStatus"
}
}
}Fields§
§details: HashMap<String, Value>Type-specific fields the extension’s controller reports, which Alien does not read.
status: CustomHeartbeatStatusImplementations§
Source§impl CustomHeartbeatData
impl CustomHeartbeatData
pub fn builder() -> CustomHeartbeatData
Trait Implementations§
Source§impl Clone for CustomHeartbeatData
impl Clone for CustomHeartbeatData
Source§impl Debug for CustomHeartbeatData
impl Debug for CustomHeartbeatData
Source§impl<'de> Deserialize<'de> for CustomHeartbeatData
impl<'de> Deserialize<'de> for CustomHeartbeatData
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<&CustomHeartbeatData> for CustomHeartbeatData
impl From<&CustomHeartbeatData> for CustomHeartbeatData
Source§fn from(value: &CustomHeartbeatData) -> Self
fn from(value: &CustomHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<CustomHeartbeatData> for CustomHeartbeatData
impl From<CustomHeartbeatData> for CustomHeartbeatData
Source§fn from(value: CustomHeartbeatData) -> Self
fn from(value: CustomHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl Serialize for CustomHeartbeatData
impl Serialize for CustomHeartbeatData
Source§impl TryFrom<CustomHeartbeatData> for CustomHeartbeatData
impl TryFrom<CustomHeartbeatData> for CustomHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CustomHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: CustomHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for CustomHeartbeatData
impl Freeze for CustomHeartbeatData
impl Move for CustomHeartbeatData
impl RefUnwindSafe for CustomHeartbeatData
impl Send for CustomHeartbeatData
impl Sync for CustomHeartbeatData
impl Unpin for CustomHeartbeatData
impl UnsafeUnpin for CustomHeartbeatData
impl UnwindSafe for CustomHeartbeatData
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