MCPcopy Create free account
hub / github.com/dfinity/orbit / Snapshot

Class Snapshot

core/station/api/src/common.rs:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65#[derive(CandidType, serde::Serialize, Deserialize, Debug, Clone)]
66pub struct Snapshot {
67 pub snapshot_id: String,
68 pub taken_at_timestamp: TimestampRfc3339,
69 pub total_size: u64,
70}
71
72impl From<mgmt::Snapshot> for Snapshot {
73 fn from(snapshot: mgmt::Snapshot) -> Snapshot {

Callers 1

fromMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected