pub struct SnsNeuronsCacheStatusReport {
pub schema_version: u32,
pub network: String,
pub cache_root: String,
pub input: String,
pub found: bool,
pub cache: Option<SnsNeuronsCacheSummary>,
pub expected_cache_path: Option<String>,
pub refresh_attempt_path: Option<String>,
pub latest_attempt: Option<SnsNeuronsRefreshAttemptStatus>,
}Expand description
SnsNeuronsCacheStatusReport
Serializable report describing one expected or discovered SNS neuron cache.
Fields§
§schema_version: u32§network: String§cache_root: String§input: String§found: bool§cache: Option<SnsNeuronsCacheSummary>§expected_cache_path: Option<String>§refresh_attempt_path: Option<String>§latest_attempt: Option<SnsNeuronsRefreshAttemptStatus>Trait Implementations§
Source§impl Clone for SnsNeuronsCacheStatusReport
impl Clone for SnsNeuronsCacheStatusReport
Source§fn clone(&self) -> SnsNeuronsCacheStatusReport
fn clone(&self) -> SnsNeuronsCacheStatusReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnsNeuronsCacheStatusReport
impl Debug for SnsNeuronsCacheStatusReport
impl Eq for SnsNeuronsCacheStatusReport
Source§impl PartialEq for SnsNeuronsCacheStatusReport
impl PartialEq for SnsNeuronsCacheStatusReport
Source§fn eq(&self, other: &SnsNeuronsCacheStatusReport) -> bool
fn eq(&self, other: &SnsNeuronsCacheStatusReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SnsNeuronsCacheStatusReport
Auto Trait Implementations§
impl Freeze for SnsNeuronsCacheStatusReport
impl RefUnwindSafe for SnsNeuronsCacheStatusReport
impl Send for SnsNeuronsCacheStatusReport
impl Sync for SnsNeuronsCacheStatusReport
impl Unpin for SnsNeuronsCacheStatusReport
impl UnsafeUnpin for SnsNeuronsCacheStatusReport
impl UnwindSafe for SnsNeuronsCacheStatusReport
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,
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.