use-local 0.0.1

Local business presence primitives for RustUse
Documentation
  • Coverage
  • 97.37%
    37 out of 38 items documented1 out of 27 items with examples
  • Size
  • Source code size: 11.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 836.71 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-presence
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

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.