Docs.rs
parse-blogger-backup-xml-0.1.3
parse-blogger-backup-xml 0.1.3
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
dhbradshaw
Dependencies
chrono ^0.4.19
normal
quick-xml ^0.22.0
normal
Versions
11.11%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
parse_
blogger_
backup_
xml
0.1.3
In parse_
blogger_
backup_
xml::
parse_
backup
parse_blogger_backup_xml
::
parse_backup
Function
get_posts
Copy item path
Source
pub fn get_posts(file_path: &
str
) ->
Result
<
Vec
<
Post
>,
Box
<dyn
Error
>>
Expand description
Logic in this function:
finds entries,
determines whether they are posts or comments, and
assigns comments to their posts