pub struct PurgeProjectCache<'a> { /* private fields */ }
Expand description
Builder for Client::purge_project_cache
Implementations§
Source§impl<'a> PurgeProjectCache<'a>
impl<'a> PurgeProjectCache<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Self
pub fn body<V>(self, value: V) -> Self
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<PurgeProjectCacheResponse>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<PurgeProjectCacheResponse>, Error<ErrorResponse>>
Sends a POST
request to /v1/projects/{id}/purge-cache
Trait Implementations§
Source§impl<'a> Clone for PurgeProjectCache<'a>
impl<'a> Clone for PurgeProjectCache<'a>
Source§fn clone(&self) -> PurgeProjectCache<'a>
fn clone(&self) -> PurgeProjectCache<'a>
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<'a> Freeze for PurgeProjectCache<'a>
impl<'a> !RefUnwindSafe for PurgeProjectCache<'a>
impl<'a> Send for PurgeProjectCache<'a>
impl<'a> Sync for PurgeProjectCache<'a>
impl<'a> Unpin for PurgeProjectCache<'a>
impl<'a> !UnwindSafe for PurgeProjectCache<'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