pub struct CommunityDescriptor {
pub community: u32,
pub dominant_class: Option<String>,
pub class_counts: Vec<(String, u64)>,
pub bbox: Option<[f64; 4]>,
pub time_range: Option<(String, String)>,
}Expand description
A per-community refinement descriptor (Phase 4): what a client sees when it zooms into one community, without fetching that community’s triples. Carries the dominant class, the local type histogram, and optional spatial/temporal extents. (The physical per-community triple tiles are still future work; this descriptor index ships in the index-free pyramid-meta and is ready to attach to those tiles when they exist.)
Fields§
§community: u32§dominant_class: Option<String>§class_counts: Vec<(String, u64)>§bbox: Option<[f64; 4]>[minLon, minLat, maxLon, maxLat] over wgs84 lat/long (CRS84).
time_range: Option<(String, String)>(min, max) lexical extent over a date/year-typed predicate.
Trait Implementations§
Source§impl Clone for CommunityDescriptor
impl Clone for CommunityDescriptor
Source§fn clone(&self) -> CommunityDescriptor
fn clone(&self) -> CommunityDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommunityDescriptor
impl Debug for CommunityDescriptor
Source§impl PartialEq for CommunityDescriptor
impl PartialEq for CommunityDescriptor
impl StructuralPartialEq for CommunityDescriptor
Auto Trait Implementations§
impl Freeze for CommunityDescriptor
impl RefUnwindSafe for CommunityDescriptor
impl Send for CommunityDescriptor
impl Sync for CommunityDescriptor
impl Unpin for CommunityDescriptor
impl UnsafeUnpin for CommunityDescriptor
impl UnwindSafe for CommunityDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more