pub struct PurgePrefixesRequest { /* private fields */ }Expand description
Request builder for purging by prefixes.
Implementations§
Source§impl PurgePrefixesRequest
impl PurgePrefixesRequest
Sourcepub fn add_prefix(self, prefix: impl Into<String>) -> Self
pub fn add_prefix(self, prefix: impl Into<String>) -> Self
Add a single prefix to purge.
Sourcepub async fn send(self) -> Result<PurgeResponse>
pub async fn send(self) -> Result<PurgeResponse>
Send the request.
Auto Trait Implementations§
impl !RefUnwindSafe for PurgePrefixesRequest
impl !UnwindSafe for PurgePrefixesRequest
impl Freeze for PurgePrefixesRequest
impl Send for PurgePrefixesRequest
impl Sync for PurgePrefixesRequest
impl Unpin for PurgePrefixesRequest
impl UnsafeUnpin for PurgePrefixesRequest
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