1 2 3 4 5 6 7 8 9
use candid::CandidType; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, CandidType, Clone)] pub struct CanisterCall { pub canister_id: String, pub method: String, pub arg: String, }