[][src]Constant osauth::request::NO_PATH

pub const NO_PATH: Option<&'static str>;

A properly typed constant for use with root paths.

The problem with just using None is that the exact type of Option is not known.

An example:

let session = osauth::Session::from_env()
    .expect("Failed to create an identity provider from the environment");
let future = session.get(osauth::services::OBJECT_STORAGE, osauth::request::NO_PATH, None);