pub struct RiskFieldPerception {
pub overall_risk: f64,
pub risk_map: HashMap<RiskCategory, RiskLevel>,
pub hotspots: Vec<RiskHotspot>,
pub safe_zones: Vec<String>,
pub gradients: Vec<RiskGradient>,
pub forecast: Vec<RiskForecast>,
}Expand description
Risk field perception — risk as a continuous field.
Fields§
§overall_risk: f64§risk_map: HashMap<RiskCategory, RiskLevel>§hotspots: Vec<RiskHotspot>§safe_zones: Vec<String>§gradients: Vec<RiskGradient>§forecast: Vec<RiskForecast>Trait Implementations§
Source§impl Clone for RiskFieldPerception
impl Clone for RiskFieldPerception
Source§fn clone(&self) -> RiskFieldPerception
fn clone(&self) -> RiskFieldPerception
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 RiskFieldPerception
impl Debug for RiskFieldPerception
Source§impl<'de> Deserialize<'de> for RiskFieldPerception
impl<'de> Deserialize<'de> for RiskFieldPerception
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RiskFieldPerception
impl RefUnwindSafe for RiskFieldPerception
impl Send for RiskFieldPerception
impl Sync for RiskFieldPerception
impl Unpin for RiskFieldPerception
impl UnsafeUnpin for RiskFieldPerception
impl UnwindSafe for RiskFieldPerception
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