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