pub struct DeleteCacheBuilder { /* private fields */ }Expand description
Builder for DeleteCache.
Implementations§
Source§impl DeleteCacheBuilder
impl DeleteCacheBuilder
Sourcepub fn cache_id<VALUE: Into<CacheId>>(&mut self, value: VALUE) -> &mut Self
pub fn cache_id<VALUE: Into<CacheId>>(&mut self, value: VALUE) -> &mut Self
Id of cache for deletion.
Sourcepub fn build(&self) -> Result<DeleteCache, DeleteCacheBuilderError>
pub fn build(&self) -> Result<DeleteCache, DeleteCacheBuilderError>
Trait Implementations§
Source§impl Clone for DeleteCacheBuilder
impl Clone for DeleteCacheBuilder
Source§fn clone(&self) -> DeleteCacheBuilder
fn clone(&self) -> DeleteCacheBuilder
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 DeleteCacheBuilder
impl RefUnwindSafe for DeleteCacheBuilder
impl Send for DeleteCacheBuilder
impl Sync for DeleteCacheBuilder
impl Unpin for DeleteCacheBuilder
impl UnsafeUnpin for DeleteCacheBuilder
impl UnwindSafe for DeleteCacheBuilder
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