pub struct ProviderBuildConfig {
pub provider_id: ProviderId,
pub api_key: SecretString,
pub timeout: Duration,
}Fields§
§provider_id: ProviderId§api_key: SecretString§timeout: DurationImplementations§
Source§impl ProviderBuildConfig
impl ProviderBuildConfig
pub fn new(provider_id: ProviderId, api_key: impl Into<String>) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
Trait Implementations§
Source§impl Clone for ProviderBuildConfig
impl Clone for ProviderBuildConfig
Source§fn clone(&self) -> ProviderBuildConfig
fn clone(&self) -> ProviderBuildConfig
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 moreAuto Trait Implementations§
impl Freeze for ProviderBuildConfig
impl RefUnwindSafe for ProviderBuildConfig
impl Send for ProviderBuildConfig
impl Sync for ProviderBuildConfig
impl Unpin for ProviderBuildConfig
impl UnsafeUnpin for ProviderBuildConfig
impl UnwindSafe for ProviderBuildConfig
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