pub struct LocalRedisHeartbeatData {
pub name: String,
pub port: Option<i32>,
pub process_running: bool,
pub status: RedisHeartbeatStatus,
pub version: String,
}Expand description
LocalRedisHeartbeatData
JSON schema
{
"type": "object",
"required": [
"name",
"processRunning",
"status",
"version"
],
"properties": {
"name": {
"type": "string"
},
"port": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"processRunning": {
"type": "boolean"
},
"status": {
"$ref": "#/components/schemas/RedisHeartbeatStatus"
},
"version": {
"type": "string"
}
}
}Fields§
§name: String§port: Option<i32>§process_running: bool§status: RedisHeartbeatStatus§version: StringImplementations§
Source§impl LocalRedisHeartbeatData
impl LocalRedisHeartbeatData
pub fn builder() -> LocalRedisHeartbeatData
Trait Implementations§
Source§impl Clone for LocalRedisHeartbeatData
impl Clone for LocalRedisHeartbeatData
Source§impl Debug for LocalRedisHeartbeatData
impl Debug for LocalRedisHeartbeatData
Source§impl<'de> Deserialize<'de> for LocalRedisHeartbeatData
impl<'de> Deserialize<'de> for LocalRedisHeartbeatData
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<&LocalRedisHeartbeatData> for LocalRedisHeartbeatData
impl From<&LocalRedisHeartbeatData> for LocalRedisHeartbeatData
Source§fn from(value: &LocalRedisHeartbeatData) -> Self
fn from(value: &LocalRedisHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<LocalRedisHeartbeatData> for LocalRedisHeartbeatData
impl From<LocalRedisHeartbeatData> for LocalRedisHeartbeatData
Source§fn from(value: LocalRedisHeartbeatData) -> Self
fn from(value: LocalRedisHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl Serialize for LocalRedisHeartbeatData
impl Serialize for LocalRedisHeartbeatData
Source§impl TryFrom<LocalRedisHeartbeatData> for LocalRedisHeartbeatData
impl TryFrom<LocalRedisHeartbeatData> for LocalRedisHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LocalRedisHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: LocalRedisHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for LocalRedisHeartbeatData
impl Freeze for LocalRedisHeartbeatData
impl RefUnwindSafe for LocalRedisHeartbeatData
impl Send for LocalRedisHeartbeatData
impl Sync for LocalRedisHeartbeatData
impl Unpin for LocalRedisHeartbeatData
impl UnsafeUnpin for LocalRedisHeartbeatData
impl UnwindSafe for LocalRedisHeartbeatData
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