#[non_exhaustive]pub struct HogdDevReadiness {
pub status: String,
pub chain_state: Option<RuntimeManifestChainState>,
pub network_hash: NetworkHashText,
pub protocol: Option<String>,
pub endpoints: HogdDevEndpoints,
pub runtime_manifest: Option<RuntimeManifest>,
pub manifest_path: Option<PathBuf>,
pub manifest_hash: Option<String>,
/* private fields */
}Expand description
hog-devnode readiness payload.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: StringReadiness status. Must be ready.
chain_state: Option<RuntimeManifestChainState>Whether hog-devnode initialized a new chain or recovered a committed chain.
network_hash: NetworkHashTextUnprefixed 32-byte local chain network hash.
protocol: Option<String>x23 protocol token expected by hogd-dev services.
endpoints: HogdDevEndpointsx23 endpoints available after startup.
runtime_manifest: Option<RuntimeManifest>Full runtime manifest loaded from the advertised readiness pointer.
manifest_path: Option<PathBuf>Runtime manifest file path advertised by hog-devnode readiness.
manifest_hash: Option<String>SHA-256 hash of the exact runtime manifest file bytes.
Trait Implementations§
Source§impl Clone for HogdDevReadiness
impl Clone for HogdDevReadiness
Source§impl Debug for HogdDevReadiness
impl Debug for HogdDevReadiness
Source§impl<'de> Deserialize<'de> for HogdDevReadiness
impl<'de> Deserialize<'de> for HogdDevReadiness
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HogdDevReadiness
Source§impl PartialEq for HogdDevReadiness
impl PartialEq for HogdDevReadiness
impl StructuralPartialEq for HogdDevReadiness
Auto Trait Implementations§
impl Freeze for HogdDevReadiness
impl RefUnwindSafe for HogdDevReadiness
impl Send for HogdDevReadiness
impl Sync for HogdDevReadiness
impl Unpin for HogdDevReadiness
impl UnsafeUnpin for HogdDevReadiness
impl UnwindSafe for HogdDevReadiness
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.