pub struct ProfilesConfig {
pub enabled: bool,
pub endpoint: String,
pub auth: BasicAuth,
}Fields§
§enabled: bool§endpoint: String§auth: BasicAuthTrait Implementations§
Source§impl Clone for ProfilesConfig
impl Clone for ProfilesConfig
Source§fn clone(&self) -> ProfilesConfig
fn clone(&self) -> ProfilesConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfilesConfig
impl Debug for ProfilesConfig
Source§impl Default for ProfilesConfig
impl Default for ProfilesConfig
Source§fn default() -> ProfilesConfig
fn default() -> ProfilesConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfilesConfig
impl<'de> Deserialize<'de> for ProfilesConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProfilesConfig
impl RefUnwindSafe for ProfilesConfig
impl Send for ProfilesConfig
impl Sync for ProfilesConfig
impl Unpin for ProfilesConfig
impl UnsafeUnpin for ProfilesConfig
impl UnwindSafe for ProfilesConfig
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