#[non_exhaustive]pub struct CreateFineTuningCheckpointPermissionRequest {
pub project_ids: Vec<String>,
}Expand description
EN: Request body for checkpoint permission creation. 中文:创建 checkpoint permission 的请求体。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project_ids: Vec<String>EN: Project ids to grant access to. 中文:要授予访问权限的项目 ID。
Implementations§
Source§impl CreateFineTuningCheckpointPermissionRequest
impl CreateFineTuningCheckpointPermissionRequest
Sourcepub fn new<I, T>(project_ids: I) -> Result<Self, LingerError>
pub fn new<I, T>(project_ids: I) -> Result<Self, LingerError>
EN: Creates and validates a checkpoint-permission request. 中文:创建并校验 checkpoint permission 请求。
Trait Implementations§
Source§impl Clone for CreateFineTuningCheckpointPermissionRequest
impl Clone for CreateFineTuningCheckpointPermissionRequest
Source§fn clone(&self) -> CreateFineTuningCheckpointPermissionRequest
fn clone(&self) -> CreateFineTuningCheckpointPermissionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CreateFineTuningCheckpointPermissionRequest
Source§impl PartialEq for CreateFineTuningCheckpointPermissionRequest
impl PartialEq for CreateFineTuningCheckpointPermissionRequest
Source§fn eq(&self, other: &CreateFineTuningCheckpointPermissionRequest) -> bool
fn eq(&self, other: &CreateFineTuningCheckpointPermissionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateFineTuningCheckpointPermissionRequest
Auto Trait Implementations§
impl Freeze for CreateFineTuningCheckpointPermissionRequest
impl RefUnwindSafe for CreateFineTuningCheckpointPermissionRequest
impl Send for CreateFineTuningCheckpointPermissionRequest
impl Sync for CreateFineTuningCheckpointPermissionRequest
impl Unpin for CreateFineTuningCheckpointPermissionRequest
impl UnsafeUnpin for CreateFineTuningCheckpointPermissionRequest
impl UnwindSafe for CreateFineTuningCheckpointPermissionRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.