pub type MetadataResult = Result<(MetadataMap, Keywords, MetaTagGroups), MetadataError>;Expand description
Type alias for the result of metadata extraction and processing.
§Example
use metadata_gen::{MetadataResult, extract_and_prepare_metadata};
let result: MetadataResult = extract_and_prepare_metadata("---\ntitle: Test\n---\n");
assert!(result.is_ok());Aliased Type§
pub enum MetadataResult {
Ok((HashMap<String, String>, Vec<String>, MetaTagGroups)),
Err(MetadataError),
}Variants§
Ok((HashMap<String, String>, Vec<String>, MetaTagGroups))
Contains the success value
Err(MetadataError)
Contains the error value