pub struct ItemsGet<'a> { /* private fields */ }Expand description
Builder for Client::items_get
Implementations§
Source§impl<'a> ItemsGet<'a>
impl<'a> ItemsGet<'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 user_address<V>(self, value: V) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<MemoryItemResponse>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<MemoryItemResponse>, Error<ErrorResponse>>
Sends a GET request to /api/memory/items/{id}
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ItemsGet<'a>
impl<'a> !UnwindSafe for ItemsGet<'a>
impl<'a> Freeze for ItemsGet<'a>
impl<'a> Send for ItemsGet<'a>
impl<'a> Sync for ItemsGet<'a>
impl<'a> Unpin for ItemsGet<'a>
impl<'a> UnsafeUnpin for ItemsGet<'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