pub struct ModelPermission {
pub id: String,
pub object: String,
pub created: i64,
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: i64
§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 Freeze for ModelPermission
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