pub struct IconClientBuilder { /* private fields */ }Implementations§
Source§impl IconClientBuilder
impl IconClientBuilder
pub fn new() -> Self
pub fn with_reqwest(self, client: Client) -> Self
pub fn with_source<S: IconSource + 'static>(self, source: S) -> Self
pub fn with_defaults(self) -> Self
pub fn build(self) -> IconClient
Trait Implementations§
Source§impl Default for IconClientBuilder
impl Default for IconClientBuilder
Source§fn default() -> IconClientBuilder
fn default() -> IconClientBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for IconClientBuilder
impl !UnwindSafe for IconClientBuilder
impl Freeze for IconClientBuilder
impl Send for IconClientBuilder
impl Sync for IconClientBuilder
impl Unpin for IconClientBuilder
impl UnsafeUnpin for IconClientBuilder
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