pub struct Status {
pub ic_api_version: String,
pub impl_source: Option<String>,
pub impl_version: Option<String>,
pub impl_revision: Option<String>,
pub replica_health_status: Option<String>,
pub root_key: Option<Vec<u8>>,
pub values: BTreeMap<String, Box<Value>>,
}Expand description
The structure returned by super::Agent::status, containing the information returned
by the status endpoint of a replica.
Fields
ic_api_version: StringIdentifies the interface version supported, i.e. the version of the present document that the internet computer aims to support, e.g. 0.8.1. The implementation may also return unversioned to indicate that it does not comply to a particular version, e.g. in between releases.
impl_source: Option<String>Optional. Identifies the implementation of the Internet Computer, by convention with the canonical location of the source code.
impl_version: Option<String>Optional. If the user is talking to a released version of an Internet Computer
implementation, this is the version number. For non-released versions, output of
git describe like 0.1.13-13-g2414721 would also be very suitable.
impl_revision: Option<String>Optional. The precise git revision of the Internet Computer implementation.
replica_health_status: Option<String>Optional. The health status of the replica. One hopes it’s “healthy”.
root_key: Option<Vec<u8>>Optional. The root (public) key used to verify certificates.
values: BTreeMap<String, Box<Value>>Contains any additional values that the replica gave as status.
Trait Implementations
sourceimpl Ord for Status
impl Ord for Status
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialOrd<Status> for Status
impl PartialOrd<Status> for Status
sourcefn partial_cmp(&self, other: &Status) -> Option<Ordering>
fn partial_cmp(&self, other: &Status) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read moreimpl Eq for Status
impl StructuralEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.