Struct r2d2_mysql::url::Path [] [src]

pub struct Path {
    pub path: String,
    pub query: Query,
    pub fragment: Option<String>,
}

Fields

path
query
fragment

Methods

impl Path

fn new(path: String, query: Query, fragment: Option<String>) -> Path

fn parse(rawpath: &str) -> DecodeResult<Path>

Trait Implementations

impl FromStr for Path

type Err = String

fn from_str(s: &str) -> Result<Path, String>