Macro juniper::checked_hash
source · macro_rules! checked_hash { ($field_name: expr, $impl_ty: ty, $scalar: ty $(, $prefix: expr)? $(,)?) => { ... }; }
Expand description
Ensures that the given $impl_ty
implements [Field
] and returns a
[fnv1a128
] hash for it, otherwise panics with understandable message.