parse

Function parse 

Source
pub fn parse(html_content: &str) -> Result<Apartment>
Expand description

Parses the HTML content of a single apartment page into an Apartment struct.

§Arguments

  • html_content - The HTML source as a string.

§Returns

A Result containing the parsed Apartment struct or an error if parsing fails.