pub struct SnsCanisterRow {
pub role: SnsCanisterRole,
pub canister_id: String,
pub status: Option<SnsCanisterStatus>,
pub module_hash_hex: Option<String>,
pub cycles: Option<String>,
pub memory_size: Option<String>,
pub idle_cycles_burned_per_day: Option<String>,
pub controllers: Vec<String>,
}Expand description
SnsCanisterRow
One canister in the authoritative SNS Root inventory.
Fields§
§role: SnsCanisterRoleNative SNS canister role.
canister_id: StringCanonical canister principal text.
status: Option<SnsCanisterStatus>Native canister running state when Root returned health evidence.
module_hash_hex: Option<String>Running Wasm module hash as lowercase hexadecimal text.
cycles: Option<String>Raw cycle balance as unsigned decimal text.
memory_size: Option<String>Raw memory size in bytes as unsigned decimal text.
idle_cycles_burned_per_day: Option<String>Raw idle cycles burned per day as unsigned decimal text.
controllers: Vec<String>Canonical controller principals returned by Root.
Trait Implementations§
Source§impl Clone for SnsCanisterRow
impl Clone for SnsCanisterRow
Source§fn clone(&self) -> SnsCanisterRow
fn clone(&self) -> SnsCanisterRow
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 SnsCanisterRow
impl Debug for SnsCanisterRow
impl Eq for SnsCanisterRow
Source§impl PartialEq for SnsCanisterRow
impl PartialEq for SnsCanisterRow
Source§impl Serialize for SnsCanisterRow
impl Serialize for SnsCanisterRow
impl StructuralPartialEq for SnsCanisterRow
Auto Trait Implementations§
impl Freeze for SnsCanisterRow
impl RefUnwindSafe for SnsCanisterRow
impl Send for SnsCanisterRow
impl Sync for SnsCanisterRow
impl Unpin for SnsCanisterRow
impl UnsafeUnpin for SnsCanisterRow
impl UnwindSafe for SnsCanisterRow
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