pub struct UsageCascadeConfig {
pub api_base_url: String,
pub timeout: Duration,
pub cache_duration: Duration,
}Expand description
Tunables threaded into resolve_usage. Out-of-box defaults match
docs/specs/data-fetching.md §OAuth usage cache stack.
Fields§
§api_base_url: String§timeout: Duration§cache_duration: DurationTrait Implementations§
Source§impl Clone for UsageCascadeConfig
impl Clone for UsageCascadeConfig
Source§fn clone(&self) -> UsageCascadeConfig
fn clone(&self) -> UsageCascadeConfig
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 UsageCascadeConfig
impl Debug for UsageCascadeConfig
Auto Trait Implementations§
impl Freeze for UsageCascadeConfig
impl RefUnwindSafe for UsageCascadeConfig
impl Send for UsageCascadeConfig
impl Sync for UsageCascadeConfig
impl Unpin for UsageCascadeConfig
impl UnsafeUnpin for UsageCascadeConfig
impl UnwindSafe for UsageCascadeConfig
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