Expand description
§use-local
Local business presence primitives for RustUse.
§Example
use use_local::{BusinessPresenceKind, LocalCategory, LocalVisibilityHint, ServiceAreaBusiness};
let business = ServiceAreaBusiness::new("Example Plumbing", BusinessPresenceKind::ServiceArea)
.unwrap()
.with_category(LocalCategory::new("Plumber").unwrap())
.with_visibility_hint(LocalVisibilityHint::OnSiteService);
assert!(business.is_service_area_business());§Scope
- Business location labels, opening-hours labels, local categories, service-area businesses, and visibility hints.
- Primitive storefront versus service-area descriptors.
§Non-goals
- Business profile APIs, review APIs, maps SDKs, or scheduling systems.
§License
Licensed under either Apache-2.0 or MIT, at your option.
Structs§
- Business
Location - A business location label or address string.
- Local
Category - Local category label for external surfaces.
- Opening
Hours Label - Human-readable opening-hours label.
- Service
Area Business - A local service-area business record.
Enums§
- Business
Presence Kind - Local business presence shape.
- Local
Value Error - Error returned by local presence constructors.
- Local
Visibility Hint - Local visibility hint for external profiles.