Struct ic_agent::agent::status::Status [−][src]
pub struct Status {
pub ic_api_version: String,
pub impl_source: Option<String>,
pub impl_version: Option<String>,
pub impl_revision: Option<String>,
pub root_key: Option<Vec<u8>>,
pub values: BTreeMap<String, Box<Value>>,
}The structure returned by [ic_agent::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.
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
impl Ord for Status[src]
impl Ord for Status[src]impl PartialOrd<Status> for Status[src]
impl PartialOrd<Status> for Status[src]fn partial_cmp(&self, other: &Status) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Status) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Eq for Status[src]
impl StructuralEq for Status[src]
impl StructuralPartialEq for Status[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
pub fn equivalent(&self, key: &K) -> bool[src]Compare self to key and return true if they are equal.
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,