pub async fn stop_or_start_nns_canister(payload: StopOrStartNnsCanisterProposalPayload) {
    match payload.action {
        CanisterAction::Start => start_canister(payload.canister_id).await,
        CanisterAction::Stop => stop_canister(payload.canister_id).await,
    }
}
// Stops or starts any NNS canister.
Stops or starts any NNS canister.
Stops or starts any NNS canister .
pub async fn stop_or_start_nns_canister(payload: StopOrStartNnsCanisterProposalPayload) {
    match payload.action {
        CanisterAction::Start => start_canister(payload.canister_id).await,
        CanisterAction::Stop => stop_canister(payload.canister_id).await,
    }
}
pub async fn stop_or_start_nns_canister ( payload : StopOrStartNnsCanisterProposalPayload ) { match payload . action { CanisterAction :: Start => start_canister ( payload . canister_id ) . await , CanisterAction :: Stop => stop_canister ( payload . canister_id ) . await , } }
Stops or starts any NNS canister.
Stops or starts any NNS canister .
payload
StopOrStartNnsCanisterProposalPayload
payload
StopOrStartNnsCanisterProposalPayload