pub struct SnsListRow {
pub id: usize,
pub name: String,
pub root_canister_id: String,
pub governance_canister_id: String,
pub ledger_canister_id: String,
pub swap_canister_id: String,
pub index_canister_id: String,
pub metadata_error: Option<String>,
pub lifecycle: Option<i32>,
pub lifecycle_name: Option<String>,
pub lifecycle_error: Option<String>,
}Expand description
SnsListRow
Serializable row for one deployed SNS in a list report.
Fields§
§id: usize§name: String§root_canister_id: String§governance_canister_id: String§ledger_canister_id: String§swap_canister_id: String§index_canister_id: String§metadata_error: Option<String>§lifecycle: Option<i32>Native Swap lifecycle discriminant, when the lifecycle query succeeded.
lifecycle_name: Option<String>Stable native lifecycle label derived from lifecycle.
lifecycle_error: Option<String>Bounded lifecycle query failure retained instead of dropping the SNS row.
Trait Implementations§
Source§impl Clone for SnsListRow
impl Clone for SnsListRow
Source§fn clone(&self) -> SnsListRow
fn clone(&self) -> SnsListRow
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 SnsListRow
impl Debug for SnsListRow
impl Eq for SnsListRow
Source§impl PartialEq for SnsListRow
impl PartialEq for SnsListRow
Source§impl Serialize for SnsListRow
impl Serialize for SnsListRow
impl StructuralPartialEq for SnsListRow
Auto Trait Implementations§
impl Freeze for SnsListRow
impl RefUnwindSafe for SnsListRow
impl Send for SnsListRow
impl Sync for SnsListRow
impl Unpin for SnsListRow
impl UnsafeUnpin for SnsListRow
impl UnwindSafe for SnsListRow
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