pub type PointVar = PointDef<RouteSegVar, PointSegVar>;Expand description
A Point with potential Variables and Context (see PointCtx)
this point may look like my-domain:users:${user} in which case before it can be made into a
usable point it must be resolved like so:
use std::str::FromStr;
use cosmic_space::loc::{Point, PointVar};
let point_var = PointVar::from_str("my-domain:users:${user}")?;
let point: Point = point_var.to_resolve(&env)?;Aliased Type§
pub struct PointVar {
pub route: RouteSegVar,
pub segments: Vec<PointSegVar>,
}Fields§
§route: RouteSegVar§segments: Vec<PointSegVar>