pub struct OverrideQuotaForOriginParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> OverrideQuotaForOriginParamsBuilder<'a>
impl<'a> OverrideQuotaForOriginParamsBuilder<'a>
Sourcepub fn quotaSize(self, quotaSize: f64) -> Self
pub fn quotaSize(self, quotaSize: f64) -> Self
The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).
pub fn build(self) -> OverrideQuotaForOriginParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for OverrideQuotaForOriginParamsBuilder<'a>
impl<'a> RefUnwindSafe for OverrideQuotaForOriginParamsBuilder<'a>
impl<'a> Send for OverrideQuotaForOriginParamsBuilder<'a>
impl<'a> Sync for OverrideQuotaForOriginParamsBuilder<'a>
impl<'a> Unpin for OverrideQuotaForOriginParamsBuilder<'a>
impl<'a> UnsafeUnpin for OverrideQuotaForOriginParamsBuilder<'a>
impl<'a> UnwindSafe for OverrideQuotaForOriginParamsBuilder<'a>
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