pub struct MachineInfoV1 {Show 15 fields
pub node_id: String,
pub hostname: String,
pub mac_address: String,
pub num_cores: usize,
pub kernel_version: Option<String>,
pub platform: String,
pub distribution: String,
pub os_version: String,
pub total_memory_bytes: u64,
pub container_runtime: Option<String>,
pub cpu_brand: String,
pub fingerprint: String,
pub online_since: DateTime<Utc>,
pub process_kind: String,
pub version: String,
}Fields§
§node_id: StringThe NodeID of the system
hostname: StringThe hostname of the system, as reported by gethostname(2)
mac_address: StringThe MAC address of the primary, non-loopback, network interface
num_cores: usizeThe number of available CPUs as reported by https://docs.rs/num_cpus/latest/num_cpus/fn.get.html
kernel_version: Option<String>The kernel version
platform: StringIdentifies the running platform
distribution: StringThe OS distribution
os_version: StringThe OS version (which often includes the distribution)
total_memory_bytes: u64Total physical memory installed in the instance
container_runtime: Option<String>If we detected that we’re running in a container, the name of the container runtime
cpu_brand: StringIdentifies the CPU. If you have a mixture of different CPUs, this will be a comma separated list of the different CPUs
fingerprint: StringAdditional metadata hash(es) that can identify the running machine. For example, when running in AWS, the instance-id will be included.
online_since: DateTime<Utc>The date/time at which the process was last started
process_kind: StringWhich process is running. eg: kumod vs tsa-daemon vs. proxy-server.
version: StringThe version of KumoMTA that is running
Trait Implementations§
Source§impl Clone for MachineInfoV1
impl Clone for MachineInfoV1
Source§fn clone(&self) -> MachineInfoV1
fn clone(&self) -> MachineInfoV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ComposeSchema for MachineInfoV1
impl ComposeSchema for MachineInfoV1
Source§impl Debug for MachineInfoV1
impl Debug for MachineInfoV1
Source§impl<'de> Deserialize<'de> for MachineInfoV1
impl<'de> Deserialize<'de> for MachineInfoV1
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>,
Source§impl PartialEq for MachineInfoV1
impl PartialEq for MachineInfoV1
Source§impl Serialize for MachineInfoV1
impl Serialize for MachineInfoV1
Source§impl ToSchema for MachineInfoV1
impl ToSchema for MachineInfoV1
impl StructuralPartialEq for MachineInfoV1
Auto Trait Implementations§
impl Freeze for MachineInfoV1
impl RefUnwindSafe for MachineInfoV1
impl Send for MachineInfoV1
impl Sync for MachineInfoV1
impl Unpin for MachineInfoV1
impl UnwindSafe for MachineInfoV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more