pub struct ModelPermission {
pub id: String,
pub object: String,
pub created: u64,
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
模型权限
Model permission
Fields§
§id: String
§object: String
§created: u64
§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 duplicate 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 moreAuto 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