pub struct PublicConfig {
pub base_url: String,
pub headers: Option<HeaderMap>,
}Fields§
§base_url: String§headers: Option<HeaderMap>Implementations§
Trait Implementations§
Source§impl Clone for PublicConfig
impl Clone for PublicConfig
Source§fn clone(&self) -> PublicConfig
fn clone(&self) -> PublicConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PublicConfig
impl RefUnwindSafe for PublicConfig
impl Send for PublicConfig
impl Sync for PublicConfig
impl Unpin for PublicConfig
impl UnsafeUnpin for PublicConfig
impl UnwindSafe for PublicConfig
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