pub struct ItemsDelete<'a> { /* private fields */ }Expand description
Builder for Client::items_delete
Implementations§
Source§impl<'a> ItemsDelete<'a>
impl<'a> ItemsDelete<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Self
pub fn agent_wallet<V>(self, value: V) -> Self
pub fn hard_delete<V>(self, value: V) -> Self
pub fn user_address<V>(self, value: V) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<MemoryItemDeleteResponse>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<MemoryItemDeleteResponse>, Error<ErrorResponse>>
Sends a DELETE request to /api/memory/items/{id}
Trait Implementations§
Source§impl<'a> Clone for ItemsDelete<'a>
impl<'a> Clone for ItemsDelete<'a>
Source§fn clone(&self) -> ItemsDelete<'a>
fn clone(&self) -> ItemsDelete<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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> !RefUnwindSafe for ItemsDelete<'a>
impl<'a> !UnwindSafe for ItemsDelete<'a>
impl<'a> Freeze for ItemsDelete<'a>
impl<'a> Send for ItemsDelete<'a>
impl<'a> Sync for ItemsDelete<'a>
impl<'a> Unpin for ItemsDelete<'a>
impl<'a> UnsafeUnpin for ItemsDelete<'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