Struct wallabag_api::types::Config [−][src]
pub struct Config {
pub client_id: String,
pub client_secret: String,
pub username: String,
pub password: String,
pub base_url: String,
}Expand description
configuration to use to init a Client.
Fields
client_id: StringAn oauth client id.
client_secret: StringAn oauth client secret.
username: StringYour username.
password: StringYour password. Unfortunately Wallabag doesn’t support full oauth yet, and still requires applications to access your password.
base_url: StringShould not include trailing slash. Eg. “https://framabag.org” is fine.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more