Expand description
This module provides functions to serialize and deserialize types
under std::rc::Rc
shared reference type.
§Examples
use candid::{CandidType, Deserialize};
use std::rc::Rc;
#[derive(CandidType, Deserialize, PartialEq)]
struct RcString(#[serde(with = "candid::rc")] Rc<String>);