Struct wikidot_path::Request [−][src]
pub struct Request<'a> {
pub slug: &'a str,
pub category: &'a str,
pub arguments: HashMap<&'a str, ArgumentValue<'a>>,
}
Expand description
Represents a request for a page.
Fields
slug: &'a str
The slug, or URL identifier of a page.
For a page like “SCP-1000” this will be scp-1000
.
category: &'a str
The category that this page appears in.
arguments: HashMap<&'a str, ArgumentValue<'a>>
What arguments were passed into the request. A mapping of key to value.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> UnwindSafe for Request<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more