[−][src]Function bloguen::ops::machine_output_kind
pub fn machine_output_kind<W, E, Tz, St, Sc>(
kind: &MachineDataKind
) -> fn(blog_name: &str, language: &LanguageTag, additional_data_sets: &[&BTreeMap<String, String>], raw_post_name: &str, number: usize, title: &str, author: &str, post_date: &DateTime<Tz>, tags: &[&[TagName]], styles: &[&[St]], scripts: &[&[Sc]], into: &mut W, out_name_err: E) -> Result<Cow<'static, str>, Error> where
W: Write,
E: Into<Cow<'static, str>>,
Tz: TimeZone,
St: WrappedElement,
Sc: WrappedElement,
Get the correct machine output funxion for the specified output kind.
Returns machine_output_json()
for MachineDataKind::Json
.