pub struct UpdateWorkspaceRequestBuilder { /* private fields */ }Expand description
Builder for UpdateWorkspaceRequest.
Implementations§
Source§impl UpdateWorkspaceRequestBuilder
impl UpdateWorkspaceRequestBuilder
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn slug<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn default_text_model<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn default_image_model<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn default_provider_sort<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn io_logging_api_key_ids(&mut self, value: Vec<u64>) -> &mut Self
pub fn io_logging_sampling_rate(&mut self, value: f64) -> &mut Self
pub fn is_data_discount_logging_enabled(&mut self, value: bool) -> &mut Self
pub fn is_observability_broadcast_enabled(&mut self, value: bool) -> &mut Self
pub fn is_observability_io_logging_enabled(&mut self, value: bool) -> &mut Self
Sourcepub fn build(&self) -> Result<UpdateWorkspaceRequest, OpenRouterError>
pub fn build(&self) -> Result<UpdateWorkspaceRequest, OpenRouterError>
Trait Implementations§
Source§impl Clone for UpdateWorkspaceRequestBuilder
impl Clone for UpdateWorkspaceRequestBuilder
Source§fn clone(&self) -> UpdateWorkspaceRequestBuilder
fn clone(&self) -> UpdateWorkspaceRequestBuilder
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 Freeze for UpdateWorkspaceRequestBuilder
impl RefUnwindSafe for UpdateWorkspaceRequestBuilder
impl Send for UpdateWorkspaceRequestBuilder
impl Sync for UpdateWorkspaceRequestBuilder
impl Unpin for UpdateWorkspaceRequestBuilder
impl UnsafeUnpin for UpdateWorkspaceRequestBuilder
impl UnwindSafe for UpdateWorkspaceRequestBuilder
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