pub struct ServiceAreaOptions {
pub max_cost: f64,
pub intervals: Vec<f64>,
pub include_unreachable: bool,
pub cost_type: ServiceAreaCostType,
pub weight_criteria: Option<HashMap<String, f64>>,
}Expand description
Options for service area calculation
Fields§
§max_cost: f64Maximum cost (distance or time)
intervals: Vec<f64>Cost intervals for multiple service areas (break values)
include_unreachable: boolWhether to include unreachable nodes
cost_type: ServiceAreaCostTypeCost type to use
weight_criteria: Option<HashMap<String, f64>>Weight criteria for multi-criteria cost
Trait Implementations§
Source§impl Clone for ServiceAreaOptions
impl Clone for ServiceAreaOptions
Source§fn clone(&self) -> ServiceAreaOptions
fn clone(&self) -> ServiceAreaOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ServiceAreaOptions
impl Debug for ServiceAreaOptions
Auto Trait Implementations§
impl Freeze for ServiceAreaOptions
impl RefUnwindSafe for ServiceAreaOptions
impl Send for ServiceAreaOptions
impl Sync for ServiceAreaOptions
impl Unpin for ServiceAreaOptions
impl UnsafeUnpin for ServiceAreaOptions
impl UnwindSafe for ServiceAreaOptions
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