pub struct CachePlanRequest { /* private fields */ }Implementations§
Source§impl CachePlanRequest
impl CachePlanRequest
pub fn new( namespace: CacheNamespace, resource: impl Into<String>, http_policy: HttpCachePolicy, ) -> Result<Self, CacheModelError>
pub fn with_application_policy(self, policy: ApplicationCachePolicy) -> Self
pub fn with_request_coalescing_mode(self, mode: RequestCoalescingMode) -> Self
pub fn request_coalescing_mode(&self) -> Option<RequestCoalescingMode>
Trait Implementations§
Source§impl Clone for CachePlanRequest
impl Clone for CachePlanRequest
Source§fn clone(&self) -> CachePlanRequest
fn clone(&self) -> CachePlanRequest
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 CachePlanRequest
impl Debug for CachePlanRequest
Source§impl PartialEq for CachePlanRequest
impl PartialEq for CachePlanRequest
impl Eq for CachePlanRequest
impl StructuralPartialEq for CachePlanRequest
Auto Trait Implementations§
impl Freeze for CachePlanRequest
impl RefUnwindSafe for CachePlanRequest
impl Send for CachePlanRequest
impl Sync for CachePlanRequest
impl Unpin for CachePlanRequest
impl UnsafeUnpin for CachePlanRequest
impl UnwindSafe for CachePlanRequest
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