Struct openai_rust::models::ModelPermission
source · pub struct ModelPermission {
pub id: String,
pub created: u32,
pub allow_create_engine: bool,
pub allow_sampling: bool,
pub allow_logprobs: bool,
pub allow_search_indices: bool,
pub allow_view: bool,
pub allow_fine_tuning: bool,
pub organization: String,
pub group: Option<String>,
pub is_blocking: bool,
}
Expand description
Permissions of a model
Fields§
§id: String
§created: u32
§allow_create_engine: bool
§allow_sampling: bool
§allow_logprobs: bool
§allow_search_indices: bool
§allow_view: bool
§allow_fine_tuning: bool
§organization: String
§group: Option<String>
§is_blocking: bool
Trait Implementations§
source§impl Debug for ModelPermission
impl Debug for ModelPermission
source§impl<'de> Deserialize<'de> for ModelPermission
impl<'de> Deserialize<'de> for ModelPermission
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 RefUnwindSafe for ModelPermission
impl Send for ModelPermission
impl Sync for ModelPermission
impl Unpin for ModelPermission
impl UnwindSafe for ModelPermission
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