pub struct SnsListRow {
pub id: usize,
pub name: String,
pub canisters: MainnetSnsCanisters,
pub metadata_error: Option<String>,
pub lifecycle: Option<i32>,
pub lifecycle_error: Option<String>,
}Expand description
SnsListRow
Serializable row for one deployed SNS in a list report.
Fields§
§id: usize§name: String§canisters: MainnetSnsCanistersComplete deployed-SNS canister identity, serialized as the existing flat fields.
metadata_error: Option<String>§lifecycle: Option<i32>Native Swap lifecycle discriminant, when the lifecycle query succeeded.
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§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