pub trait CandidType {
// Required methods
fn _ty() -> Type;
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>
where S: Serializer;
// Provided methods
fn ty() -> Type { ... }
fn id() -> TypeId { ... }
}Required Methods§
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl CandidType for bool
impl CandidType for bool
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for f32
impl CandidType for f32
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for f64
impl CandidType for f64
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for i8
impl CandidType for i8
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for i16
impl CandidType for i16
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for i32
impl CandidType for i32
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for i64
impl CandidType for i64
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for i128
impl CandidType for i128
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for isize
impl CandidType for isize
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for str
impl CandidType for str
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for u8
impl CandidType for u8
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for u16
impl CandidType for u16
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for u32
impl CandidType for u32
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for u64
impl CandidType for u64
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for u128
impl CandidType for u128
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for ()
impl CandidType for ()
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for usize
impl CandidType for usize
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for String
impl CandidType for String
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for Duration
impl CandidType for Duration
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for Path
impl CandidType for Path
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for PathBuf
impl CandidType for PathBuf
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for SystemTime
impl CandidType for SystemTime
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for ByteBuf
Available on crate feature serde_bytes only.
impl CandidType for ByteBuf
Available on crate feature
serde_bytes only.fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl CandidType for Bytes
Available on crate feature serde_bytes only.
impl CandidType for Bytes
Available on crate feature
serde_bytes only.fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<K> CandidType for BinaryHeap<K>where
K: CandidType + Ord,
impl<K> CandidType for BinaryHeap<K>where
K: CandidType + Ord,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<K> CandidType for BTreeSet<K>where
K: CandidType + Ord,
impl<K> CandidType for BTreeSet<K>where
K: CandidType + Ord,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<K> CandidType for LinkedList<K>where
K: CandidType,
impl<K> CandidType for LinkedList<K>where
K: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<K> CandidType for VecDeque<K>where
K: CandidType,
impl<K> CandidType for VecDeque<K>where
K: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<K> CandidType for Vec<K>where
K: CandidType,
impl<K> CandidType for Vec<K>where
K: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<K, H> CandidType for HashSet<K, H>
impl<K, H> CandidType for HashSet<K, H>
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<K, V> CandidType for BTreeMap<K, V>
impl<K, V> CandidType for BTreeMap<K, V>
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<K, V, H> CandidType for HashMap<K, V, H>
impl<K, V, H> CandidType for HashMap<K, V, H>
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0> CandidType for (T0,)where
T0: CandidType,
impl<T0> CandidType for (T0,)where
T0: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1> CandidType for (T0, T1)where
T0: CandidType,
T1: CandidType,
impl<T0, T1> CandidType for (T0, T1)where
T0: CandidType,
T1: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2> CandidType for (T0, T1, T2)
impl<T0, T1, T2> CandidType for (T0, T1, T2)
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3> CandidType for (T0, T1, T2, T3)
impl<T0, T1, T2, T3> CandidType for (T0, T1, T2, T3)
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4> CandidType for (T0, T1, T2, T3, T4)
impl<T0, T1, T2, T3, T4> CandidType for (T0, T1, T2, T3, T4)
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5> CandidType for (T0, T1, T2, T3, T4, T5)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
impl<T0, T1, T2, T3, T4, T5> CandidType for (T0, T1, T2, T3, T4, T5)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6> CandidType for (T0, T1, T2, T3, T4, T5, T6)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6> CandidType for (T0, T1, T2, T3, T4, T5, T6)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
T14: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
T14: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
T14: CandidType,
T15: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
T14: CandidType,
T15: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for Cow<'_, T>
impl<T> CandidType for Cow<'_, T>
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for Option<T>where
T: CandidType,
impl<T> CandidType for Option<T>where
T: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for &Twhere
T: CandidType + ?Sized,
impl<T> CandidType for &Twhere
T: CandidType + ?Sized,
Source§impl<T> CandidType for &mut Twhere
T: CandidType + ?Sized,
impl<T> CandidType for &mut Twhere
T: CandidType + ?Sized,
Source§impl<T> CandidType for [T]where
T: CandidType,
impl<T> CandidType for [T]where
T: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for Box<T>where
T: CandidType + ?Sized,
impl<T> CandidType for Box<T>where
T: CandidType + ?Sized,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for Rc<T>where
T: CandidType,
impl<T> CandidType for Rc<T>where
T: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for Arc<T>where
T: CandidType,
impl<T> CandidType for Arc<T>where
T: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for Cell<T>where
T: CandidType + Copy,
impl<T> CandidType for Cell<T>where
T: CandidType + Copy,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for RefCell<T>where
T: CandidType,
impl<T> CandidType for RefCell<T>where
T: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for Reverse<T>where
T: CandidType,
impl<T> CandidType for Reverse<T>where
T: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T> CandidType for PhantomData<T>where
T: CandidType,
impl<T> CandidType for PhantomData<T>where
T: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(&self, _: S) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T, E> CandidType for Result<T, E>where
T: CandidType,
E: CandidType,
impl<T, E> CandidType for Result<T, E>where
T: CandidType,
E: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<T, const N: usize> CandidType for [T; N]where
T: CandidType,
impl<T, const N: usize> CandidType for [T; N]where
T: CandidType,
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S,
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Source§impl<const N: usize> CandidType for ByteArray<N>
Available on crate feature serde_bytes only.
impl<const N: usize> CandidType for ByteArray<N>
Available on crate feature
serde_bytes only.