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 Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more