pub trait NetdocEncodableFields {
// Required method
fn encode_fields(&self, out: &mut NetdocEncoder) -> Result<(), Bug>;
}Available on crate feature
encode only.Expand description
Collections of fields that can be encoded in the netdoc metaformat
Whole documents have structure; a NetdocEncodableFields does not.
Required Methods§
Sourcefn encode_fields(&self, out: &mut NetdocEncoder) -> Result<(), Bug>
fn encode_fields(&self, out: &mut NetdocEncoder) -> Result<(), Bug>
Append the document onto out