pub trait TypeFingerprint {
    // Required method
    fn fingerprint() -> String;
}
Expand description

A TypeFingerprint is able to return a string that represents the layout of a type. It is intended to capture any structure that will affect serialiation via Serde.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TypeFingerprint for bool

source§

impl TypeFingerprint for f32

source§

impl TypeFingerprint for f64

source§

impl TypeFingerprint for i8

source§

impl TypeFingerprint for i16

source§

impl TypeFingerprint for i32

source§

impl TypeFingerprint for i64

source§

impl TypeFingerprint for i128

source§

impl TypeFingerprint for isize

source§

impl TypeFingerprint for str

source§

impl TypeFingerprint for u8

source§

impl TypeFingerprint for u16

source§

impl TypeFingerprint for u32

source§

impl TypeFingerprint for u64

source§

impl TypeFingerprint for u128

source§

impl TypeFingerprint for ()

source§

impl TypeFingerprint for usize

source§

impl TypeFingerprint for String

source§

impl<'a, T: TypeFingerprint + ?Sized> TypeFingerprint for &'a T

source§

impl<'a, T: TypeFingerprint + ?Sized> TypeFingerprint for &'a mut T

source§

impl<A: TypeFingerprint> TypeFingerprint for (A,)

source§

impl<A: TypeFingerprint, B: TypeFingerprint> TypeFingerprint for (A, B)

source§

impl<A: TypeFingerprint, B: TypeFingerprint> TypeFingerprint for BTreeMap<A, B>

source§

impl<A: TypeFingerprint, B: TypeFingerprint, C: TypeFingerprint> TypeFingerprint for (A, B, C)

source§

impl<A: TypeFingerprint, B: TypeFingerprint, C: TypeFingerprint, D: TypeFingerprint> TypeFingerprint for (A, B, C, D)

source§

impl<A: TypeFingerprint, B: TypeFingerprint, C: TypeFingerprint, D: TypeFingerprint, E: TypeFingerprint> TypeFingerprint for (A, B, C, D, E)

source§

impl<A: TypeFingerprint, B: TypeFingerprint, C: TypeFingerprint, D: TypeFingerprint, E: TypeFingerprint, F: TypeFingerprint> TypeFingerprint for (A, B, C, D, E, F)

source§

impl<A: TypeFingerprint, B: TypeFingerprint, C: TypeFingerprint, D: TypeFingerprint, E: TypeFingerprint, F: TypeFingerprint, G: TypeFingerprint> TypeFingerprint for (A, B, C, D, E, F, G)

source§

impl<A: TypeFingerprint, B: TypeFingerprint, C: TypeFingerprint, D: TypeFingerprint, E: TypeFingerprint, F: TypeFingerprint, G: TypeFingerprint, H: TypeFingerprint> TypeFingerprint for (A, B, C, D, E, F, G, H)

source§

impl<A: TypeFingerprint, B: TypeFingerprint, C: TypeFingerprint, D: TypeFingerprint, E: TypeFingerprint, F: TypeFingerprint, G: TypeFingerprint, H: TypeFingerprint, I: TypeFingerprint> TypeFingerprint for (A, B, C, D, E, F, G, H, I)

source§

impl<K: TypeFingerprint, V: TypeFingerprint, S> TypeFingerprint for HashMap<K, V, S>

source§

impl<T: TypeFingerprint + ?Sized> TypeFingerprint for Box<T>

source§

impl<T: TypeFingerprint> TypeFingerprint for Option<T>

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 0]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 1]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 2]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 3]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 4]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 5]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 6]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 7]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 8]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 9]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 10]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 11]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 12]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 13]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 14]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 15]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 16]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 17]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 18]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 19]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 20]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 21]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 22]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 23]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 24]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 25]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 26]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 27]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 28]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 29]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 30]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 31]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T; 32]

source§

impl<T: TypeFingerprint> TypeFingerprint for [T]

source§

impl<T: TypeFingerprint> TypeFingerprint for BTreeSet<T>

source§

impl<T: TypeFingerprint> TypeFingerprint for Vec<T>

source§

impl<T: TypeFingerprint> TypeFingerprint for Range<T>

source§

impl<T: TypeFingerprint> TypeFingerprint for HashSet<T>

Implementors§