pub struct Options { /* private fields */ }Implementations§
Source§impl Options
impl Options
pub fn new() -> Options
pub fn api_key(&self) -> &'static str
pub fn secret_key(&self) -> &'static str
pub fn base_url(&self) -> &'static str
pub fn set_api_key(&mut self, api_key: &'static str)
pub fn set_secret_key(&mut self, secret_key: &'static str)
pub fn set_base_url(&mut self, base_url: &'static str)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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