pub struct Workspace {Show 15 fields
pub id: String,
pub name: String,
pub slug: String,
pub description: Option<String>,
pub created_by: Option<String>,
pub created_at: String,
pub updated_at: Option<String>,
pub default_text_model: Option<String>,
pub default_image_model: Option<String>,
pub default_provider_sort: Option<String>,
pub io_logging_api_key_ids: Option<Vec<i64>>,
pub io_logging_sampling_rate: f64,
pub is_data_discount_logging_enabled: bool,
pub is_observability_broadcast_enabled: bool,
pub is_observability_io_logging_enabled: bool,
}Expand description
A workspace as returned by the workspaces endpoints.
Fields§
§id: StringStable workspace identifier.
name: StringDisplay name.
slug: StringURL-safe slug.
description: Option<String>Free-form description.
created_by: Option<String>User id of the workspace creator, when known.
created_at: StringCreation timestamp.
updated_at: Option<String>Last-update timestamp.
default_text_model: Option<String>Default text-model id.
default_image_model: Option<String>Default image-model id.
default_provider_sort: Option<String>Default provider sort (throughput, price, latency).
io_logging_api_key_ids: Option<Vec<i64>>API key ids whose IO is logged for this workspace.
io_logging_sampling_rate: f64IO-logging sampling rate (0.0–1.0).
is_data_discount_logging_enabled: boolEnable data-discount logging.
is_observability_broadcast_enabled: boolBroadcast observability events.
is_observability_io_logging_enabled: boolEnable IO logging for observability.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Workspace
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnsafeUnpin for Workspace
impl UnwindSafe for Workspace
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