pub struct ApiWriterConfig {
pub user_agent: String,
pub api_url: String,
pub log_level: Level,
}Fields§
§user_agent: String§api_url: String§log_level: LevelImplementations§
Source§impl ApiWriterConfig
impl ApiWriterConfig
pub fn builder() -> ApiWriterConfigBuilder
Trait Implementations§
Source§impl Clone for ApiWriterConfig
impl Clone for ApiWriterConfig
Source§fn clone(&self) -> ApiWriterConfig
fn clone(&self) -> ApiWriterConfig
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 ApiWriterConfig
impl Debug for ApiWriterConfig
Source§impl Default for ApiWriterConfig
impl Default for ApiWriterConfig
Source§fn default() -> ApiWriterConfig
fn default() -> ApiWriterConfig
Returns the “default value” for a type. Read more
Source§impl TryFrom<ApiWriterConfigBuilder> for ApiWriterConfig
impl TryFrom<ApiWriterConfigBuilder> for ApiWriterConfig
Source§type Error = BuildApiWriterConfigError
type Error = BuildApiWriterConfigError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ApiWriterConfig
impl RefUnwindSafe for ApiWriterConfig
impl Send for ApiWriterConfig
impl Sync for ApiWriterConfig
impl Unpin for ApiWriterConfig
impl UnwindSafe for ApiWriterConfig
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