pub struct SnsMetricsReport {
pub schema_version: u32,
pub network: String,
pub sns_wasm_canister_id: String,
pub fetched_at: String,
pub source_endpoint: String,
pub fetched_by: String,
pub id: usize,
pub name: String,
pub root_canister_id: String,
pub treasury_metric_count: usize,
pub metrics: MainnetSnsMetrics,
}Expand description
SnsMetricsReport
Bounded live report of native SNS Governance metrics for one SNS.
Fields§
§schema_version: u32Report schema version.
network: StringRequested IC network identity.
sns_wasm_canister_id: StringMainnet SNS-W canister used for discovery.
fetched_at: StringCollection timestamp in UTC.
source_endpoint: StringIC API endpoint used for all client requests.
fetched_by: StringCollector identity recorded by the source request.
id: usizeSNS-W list id assigned to this deployed SNS.
name: StringSNS name resolved during discovery.
root_canister_id: StringRoot canister identity used to resolve this SNS.
treasury_metric_count: usizeNumber of returned cached treasury rows.
metrics: MainnetSnsMetricsValidated source payload shared with native collection.
Trait Implementations§
Source§impl Clone for SnsMetricsReport
impl Clone for SnsMetricsReport
Source§impl Debug for SnsMetricsReport
impl Debug for SnsMetricsReport
impl Eq for SnsMetricsReport
Source§impl PartialEq for SnsMetricsReport
impl PartialEq for SnsMetricsReport
Source§impl Serialize for SnsMetricsReport
impl Serialize for SnsMetricsReport
impl StructuralPartialEq for SnsMetricsReport
Auto Trait Implementations§
impl Freeze for SnsMetricsReport
impl RefUnwindSafe for SnsMetricsReport
impl Send for SnsMetricsReport
impl Sync for SnsMetricsReport
impl Unpin for SnsMetricsReport
impl UnsafeUnpin for SnsMetricsReport
impl UnwindSafe for SnsMetricsReport
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