pub struct CratesIoClientOptions {
pub base_url: String,
pub timeout: Duration,
pub max_retries: u32,
pub retry_delay: Duration,
pub max_retry_delay: Duration,
}Fields§
§base_url: String§timeout: Duration§max_retries: u32§retry_delay: Duration§max_retry_delay: DurationTrait Implementations§
Source§impl Clone for CratesIoClientOptions
impl Clone for CratesIoClientOptions
Source§fn clone(&self) -> CratesIoClientOptions
fn clone(&self) -> CratesIoClientOptions
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 moreSource§impl Debug for CratesIoClientOptions
impl Debug for CratesIoClientOptions
Auto Trait Implementations§
impl Freeze for CratesIoClientOptions
impl RefUnwindSafe for CratesIoClientOptions
impl Send for CratesIoClientOptions
impl Sync for CratesIoClientOptions
impl Unpin for CratesIoClientOptions
impl UnsafeUnpin for CratesIoClientOptions
impl UnwindSafe for CratesIoClientOptions
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