pub trait Serialize {
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer;
}
Required Methods
Implementors
impl<'a> Serialize for Bytes<'a>
impl Serialize for ByteBuf
impl Serialize for Value
impl Serialize for bool
impl Serialize for isize
impl Serialize for i8
impl Serialize for i16
impl Serialize for i32
impl Serialize for i64
impl Serialize for usize
impl Serialize for u8
impl Serialize for u16
impl Serialize for u32
impl Serialize for u64
impl Serialize for f32
impl Serialize for f64
impl Serialize for char
impl Serialize for str
impl Serialize for String
impl<T> Serialize for Option<T> where T: Serialize
impl<'a, T> Serialize for &'a [T] where T: Serialize
impl<T> Serialize for Vec<T> where T: Serialize
impl<T> Serialize for BTreeSet<T> where T: Serialize + Ord
impl<T> Serialize for HashSet<T> where T: Serialize + Eq + Hash
impl Serialize for ()
impl<T0> Serialize for (T0,) where T0: Serialize
impl<T0, T1> Serialize for (T0, T1) where T0: Serialize, T1: Serialize
impl<T0, T1, T2> Serialize for (T0, T1, T2) where T0: Serialize, T1: Serialize, T2: Serialize
impl<T0, T1, T2, T3> Serialize for (T0, T1, T2, T3) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize
impl<T0, T1, T2, T3, T4> Serialize for (T0, T1, T2, T3, T4) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize
impl<T0, T1, T2, T3, T4, T5> Serialize for (T0, T1, T2, T3, T4, T5) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize
impl<T0, T1, T2, T3, T4, T5, T6> Serialize for (T0, T1, T2, T3, T4, T5, T6) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize
impl<T0, T1, T2, T3, T4, T5, T6, T7> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize, T11: Serialize
impl<K, V> Serialize for BTreeMap<K, V> where K: Serialize + Ord, V: Serialize
impl<K, V> Serialize for HashMap<K, V> where K: Serialize + Eq + Hash, V: Serialize
impl<'a, T: ?Sized> Serialize for &'a T where T: Serialize
impl<'a, T: ?Sized> Serialize for &'a mut T where T: Serialize
impl<T: ?Sized> Serialize for Box<T> where T: Serialize
impl<T> Serialize for Rc<T> where T: Serialize
impl<T> Serialize for Arc<T> where T: Serialize
impl Serialize for Path
impl Serialize for PathBuf
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)