Skip to main content

IcNodeStatusRow

Struct IcNodeStatusRow 

Source
pub struct IcNodeStatusRow {
Show 19 fields pub node_id: String, pub node_operator_id: String, pub node_provider_id: String, pub node_provider_name: String, pub node_type: String, pub node_reward_type: String, pub status: String, pub alert_name: Option<String>, pub subnet_id: Option<String>, pub cloud_engine_subnet_id: Option<String>, pub data_center_id: String, pub data_center_name: String, pub owner: String, pub region: String, pub guestos_version: Option<String>, pub guestos_tee_active: Option<bool>, pub ip_address: Option<String>, pub ipv4_connectivity_status: Option<bool>, pub node_hardware_generation: Option<String>,
}
Expand description

IcNodeStatusRow

One raw node observation retained from the official Dashboard node resource.

Fields§

§node_id: String

Canonical node principal.

§node_operator_id: String

Canonical node-operator principal.

§node_provider_id: String

Canonical node-provider principal.

§node_provider_name: String

Off-chain Dashboard node-provider name.

§node_type: String

Raw Dashboard node type.

§node_reward_type: String

Raw Registry reward type reported by the Dashboard.

§status: String

Raw Dashboard operational status.

§alert_name: Option<String>

Raw Dashboard alert name when present.

§subnet_id: Option<String>

Assigned Subnet principal when present.

§cloud_engine_subnet_id: Option<String>

Cloud-engine Subnet principal when present in a future compatible scope.

§data_center_id: String

Dashboard data-center identifier.

§data_center_name: String

Dashboard data-center name.

§owner: String

Dashboard infrastructure owner label.

§region: String

Raw Dashboard geographic region label.

§guestos_version: Option<String>

Observed GuestOS version when reported.

§guestos_tee_active: Option<bool>

Observed GuestOS trusted-execution status when reported.

§ip_address: Option<String>

Observed node IP address when reported.

§ipv4_connectivity_status: Option<bool>

Observed IPv4-connectivity state when reported.

§node_hardware_generation: Option<String>

Dashboard hardware-generation label when reported.

Implementations§

Source§

impl IcNodeStatusRow

Source

pub fn operational_status(&self) -> IcNodeOperationalStatus

Return the known classification of this row’s raw status.

Source

pub fn is_non_up(&self) -> bool

Return whether the raw row is anything other than known UP.

Trait Implementations§

Source§

impl Clone for IcNodeStatusRow

Source§

fn clone(&self) -> IcNodeStatusRow

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IcNodeStatusRow

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IcNodeStatusRow

Source§

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 Eq for IcNodeStatusRow

Source§

impl PartialEq for IcNodeStatusRow

Source§

fn eq(&self, other: &IcNodeStatusRow) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for IcNodeStatusRow

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for IcNodeStatusRow

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.