#[non_exhaustive]pub struct Workspace {Show 15 fields
pub id: String,
pub name: String,
pub slug: String,
pub description: 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<u64>>,
pub io_logging_sampling_rate: f64,
pub is_observability_io_logging_enabled: bool,
pub is_observability_broadcast_enabled: bool,
pub is_data_discount_logging_enabled: bool,
pub created_at: String,
pub updated_at: Option<String>,
pub created_by: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: String§name: String§slug: String§description: Option<String>§default_text_model: Option<String>§default_image_model: Option<String>§default_provider_sort: Option<String>§io_logging_api_key_ids: Option<Vec<u64>>§io_logging_sampling_rate: f64§is_observability_io_logging_enabled: bool§is_observability_broadcast_enabled: bool§is_data_discount_logging_enabled: bool§created_at: String§updated_at: Option<String>§created_by: Option<String>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
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