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,
}
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 Clone for ModelPermission
impl Clone for ModelPermission
Source§fn clone(&self) -> ModelPermission
fn clone(&self) -> ModelPermission
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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