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: String

Identifies 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 Debug for Status[src]

impl Display for Status[src]

impl Eq for Status[src]

impl Ord for Status[src]

impl PartialEq<Status> for Status[src]

impl PartialOrd<Status> for Status[src]

impl StructuralEq for Status[src]

impl StructuralPartialEq for Status[src]

impl TryFrom<&'_ Value> for Status[src]

type Error = ()

The type returned in the event of a conversion error.

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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,