pub struct UpdateWorkspaceSettings<'a> { /* private fields */ }Expand description
Builder for Client::update_workspace_settings
Implementations§
Source§impl<'a> UpdateWorkspaceSettings<'a>
impl<'a> UpdateWorkspaceSettings<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Selfwhere
V: TryInto<UpdateWorkspaceSettingsId>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<UpdateWorkspaceSettingsWorkspace>,
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<UpdateWorkspaceSettingsRequest>,
<V as TryInto<UpdateWorkspaceSettingsRequest>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<AgentSettings>, Error<ApiError>>
pub async fn send(self) -> Result<ResponseValue<AgentSettings>, Error<ApiError>>
Sends a PATCH request to /v1/workspaces/{id}/settings
Trait Implementations§
Source§impl<'a> Clone for UpdateWorkspaceSettings<'a>
impl<'a> Clone for UpdateWorkspaceSettings<'a>
Source§fn clone(&self) -> UpdateWorkspaceSettings<'a>
fn clone(&self) -> UpdateWorkspaceSettings<'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 UpdateWorkspaceSettings<'a>
impl<'a> !UnwindSafe for UpdateWorkspaceSettings<'a>
impl<'a> Freeze for UpdateWorkspaceSettings<'a>
impl<'a> Send for UpdateWorkspaceSettings<'a>
impl<'a> Sync for UpdateWorkspaceSettings<'a>
impl<'a> Unpin for UpdateWorkspaceSettings<'a>
impl<'a> UnsafeUnpin for UpdateWorkspaceSettings<'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