pub struct ParsedLink {
pub view: &'static View,
pub place: Option<&'static Place>,
pub values: BTreeMap<String, Value>,
pub params: BTreeMap<String, Value>,
pub anchor: Option<String>,
pub host: Option<String>,
pub canonical: String,
}Expand description
A link read: its view, the place it matched, the values of the place’s vars, its parameters and anchor.
Fields§
§view: &'static ViewThe registry view (ext for a widget).
place: Option<&'static Place>The place it matched, or None for the view as it is.
values: BTreeMap<String, Value>Each var of the place by name; for a widget, package too.
params: BTreeMap<String, Value>§anchor: Option<String>§host: Option<String>The computer the place is on (host=machine[/channel], build 4d), when the link names one.
canonical: StringThe link’s one written form (R7).
Trait Implementations§
Source§impl Clone for ParsedLink
impl Clone for ParsedLink
Source§fn clone(&self) -> ParsedLink
fn clone(&self) -> ParsedLink
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 ParsedLink
impl Debug for ParsedLink
impl Eq for ParsedLink
Source§impl PartialEq for ParsedLink
impl PartialEq for ParsedLink
impl StructuralPartialEq for ParsedLink
Auto Trait Implementations§
impl Freeze for ParsedLink
impl RefUnwindSafe for ParsedLink
impl Send for ParsedLink
impl Sync for ParsedLink
impl Unpin for ParsedLink
impl UnsafeUnpin for ParsedLink
impl UnwindSafe for ParsedLink
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