Struct mammut::apps::AppBuilder [] [src]

pub struct AppBuilder<'a> {
    pub client_name: &'a str,
    pub redirect_uris: &'a str,
    pub scopes: Scope,
    pub website: Option<&'a str>,
}

Builder struct for defining your application.

let app = AppBuilder {
    client_name: "mammut_test",
    redirect_uris: "urn:ietf:wg:oauth:2.0:oob",
    scopes: Scope::Read,
    website: None,
};

Fields

Trait Implementations

impl<'a> Debug for AppBuilder<'a>
[src]

Formats the value using the given formatter.

impl<'a> Default for AppBuilder<'a>
[src]

Returns the "default value" for a type. Read more