Expand description
§use-listing
Business listing and citation primitives for RustUse presence utilities.
§Example
use use_listing::{ListingName, ListingProfile, ListingProvider, ListingStatus, NapRecord};
let profile = ListingProfile::new(
ListingName::new("Example Cafe").unwrap(),
ListingProvider::new("Directory").unwrap(),
)
.with_status(ListingStatus::Claimed)
.with_nap_record(NapRecord::new("Example Cafe", "1 Main St", "+1-555-0100").unwrap());
assert_eq!(profile.status(), ListingStatus::Claimed);§Scope
- Listing names, URLs, providers, citations, name/address/phone records, consistency scoring, statuses, and profiles.
§Non-goals
- API-specific directory integrations, review management, or data synchronization.
§License
Licensed under either Apache-2.0 or MIT, at your option.
Structs§
- Citation
- A citation mention for a listing.
- Listing
Name - A business or directory listing name.
- Listing
Profile - A business listing profile descriptor.
- Listing
Provider - A directory, listing, or citation provider label.
- Listing
Url - A listing profile URL.
- NapConsistency
- Consistency result for name/address/phone fields.
- NapRecord
- A name/address/phone record used for consistency checks.
Enums§
- Listing
Status - Status label for a listing profile.
- Listing
Value Error - Error returned by listing primitive constructors.