pub fn zero_value(
type_ref: &TypeRef,
inline: Option<&Refinement>,
types: &HashMap<String, Arc<TypeDecl>>,
) -> Option<ZeroValue>Expand description
The zero value of type_ref (with an optional inline field refinement), or
None if the type is not zeroable.