pub struct SessionsWorkingUpdate<'a> { /* private fields */ }Expand description
Builder for Client::sessions_working_update
Implementations§
Source§impl<'a> SessionsWorkingUpdate<'a>
impl<'a> SessionsWorkingUpdate<'a>
pub fn new(client: &'a Client) -> Self
pub fn session_id<V>(self, value: V) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<WorkingSessionUpdateRequest>,
<V as TryInto<WorkingSessionUpdateRequest>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<WorkingSessionUpdateResponse>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<WorkingSessionUpdateResponse>, Error<ErrorResponse>>
Sends a PATCH request to /api/memory/sessions/{sessionId}/working
Trait Implementations§
Source§impl<'a> Clone for SessionsWorkingUpdate<'a>
impl<'a> Clone for SessionsWorkingUpdate<'a>
Source§fn clone(&self) -> SessionsWorkingUpdate<'a>
fn clone(&self) -> SessionsWorkingUpdate<'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 SessionsWorkingUpdate<'a>
impl<'a> !UnwindSafe for SessionsWorkingUpdate<'a>
impl<'a> Freeze for SessionsWorkingUpdate<'a>
impl<'a> Send for SessionsWorkingUpdate<'a>
impl<'a> Sync for SessionsWorkingUpdate<'a>
impl<'a> Unpin for SessionsWorkingUpdate<'a>
impl<'a> UnsafeUnpin for SessionsWorkingUpdate<'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