use crate::cdk::{candid::CandidType, types::Principal};
use serde::Deserialize;
#[derive(CandidType, Clone, Copy, Debug, Deserialize, Eq, PartialEq)]
pub enum CanisterStatusType {
#[serde(rename = "running")]
Running,
#[serde(rename = "stopping")]
Stopping,
#[serde(rename = "stopped")]
Stopped,
}
#[derive(CandidType, Clone, Debug, Deserialize, Eq, PartialEq)]
pub enum LogVisibility {
#[serde(rename = "controllers")]
Controllers,
#[serde(rename = "public")]
Public,
#[serde(rename = "allowed_viewers")]
AllowedViewers(Vec<Principal>),
}