Struct openai_rust::models::ModelPermission
source · pub struct ModelPermission {
pub id: String,
pub object: 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,
}Fields§
§id: String§object: 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: boolTrait 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