pub struct SnsNeuronsCacheSummary {Show 15 fields
pub id: usize,
pub name: String,
pub root_canister_id: String,
pub governance_canister_id: String,
pub cache_status: String,
pub cache_error: Option<String>,
pub complete: bool,
pub row_count: usize,
pub page_count: u32,
pub page_size: u32,
pub fetched_at: String,
pub source_endpoint: String,
pub cache_path: String,
pub refresh_attempt_path: String,
pub latest_attempt: Option<SnsNeuronsRefreshAttemptStatus>,
}Expand description
SnsNeuronsCacheSummary
Serializable summary of one complete SNS neuron snapshot cache.
Fields§
§id: usize§name: String§root_canister_id: String§governance_canister_id: String§cache_status: String§cache_error: Option<String>§complete: bool§row_count: usize§page_count: u32§page_size: u32§fetched_at: String§source_endpoint: String§cache_path: String§refresh_attempt_path: String§latest_attempt: Option<SnsNeuronsRefreshAttemptStatus>Trait Implementations§
Source§impl Clone for SnsNeuronsCacheSummary
impl Clone for SnsNeuronsCacheSummary
Source§fn clone(&self) -> SnsNeuronsCacheSummary
fn clone(&self) -> SnsNeuronsCacheSummary
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 SnsNeuronsCacheSummary
impl Debug for SnsNeuronsCacheSummary
impl Eq for SnsNeuronsCacheSummary
Source§impl PartialEq for SnsNeuronsCacheSummary
impl PartialEq for SnsNeuronsCacheSummary
Source§fn eq(&self, other: &SnsNeuronsCacheSummary) -> bool
fn eq(&self, other: &SnsNeuronsCacheSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnsNeuronsCacheSummary
impl Serialize for SnsNeuronsCacheSummary
impl StructuralPartialEq for SnsNeuronsCacheSummary
Auto Trait Implementations§
impl Freeze for SnsNeuronsCacheSummary
impl RefUnwindSafe for SnsNeuronsCacheSummary
impl Send for SnsNeuronsCacheSummary
impl Sync for SnsNeuronsCacheSummary
impl Unpin for SnsNeuronsCacheSummary
impl UnsafeUnpin for SnsNeuronsCacheSummary
impl UnwindSafe for SnsNeuronsCacheSummary
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.