Trait strict_encoding::WriteStruct
source · pub trait WriteStruct: Sized {
type Parent: TypedParent;
fn write_field(
self,
name: FieldName,
value: &impl StrictEncode
) -> Result<Self>;
fn complete(self) -> Self::Parent;
}