pub struct FineTuningCheckpointPermission {
pub id: String,
pub created_at: u64,
pub project_id: String,
}
Expand description
The checkpoint.permission
object represents a permission for a fine-tuned model checkpoint.
Fields§
§id: String
The permission identifier, which can be referenced in the API endpoints.
created_at: u64
The Unix timestamp (in seconds) for when the permission was created.
project_id: String
The project identifier that the permission is for.
Implementations§
Source§impl FineTuningCheckpointPermission
impl FineTuningCheckpointPermission
Sourcepub fn builder() -> FineTuningCheckpointPermissionBuilder<((), (), ())>
pub fn builder() -> FineTuningCheckpointPermissionBuilder<((), (), ())>
Create a builder for building FineTuningCheckpointPermission
.
On the builder, call .id(...)
, .created_at(...)
, .project_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of FineTuningCheckpointPermission
.
Trait Implementations§
Source§impl Clone for FineTuningCheckpointPermission
impl Clone for FineTuningCheckpointPermission
Source§fn clone(&self) -> FineTuningCheckpointPermission
fn clone(&self) -> FineTuningCheckpointPermission
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 moreSource§impl<'de> Deserialize<'de> for FineTuningCheckpointPermission
impl<'de> Deserialize<'de> for FineTuningCheckpointPermission
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
Source§impl PartialEq for FineTuningCheckpointPermission
impl PartialEq for FineTuningCheckpointPermission
Source§fn eq(&self, other: &FineTuningCheckpointPermission) -> bool
fn eq(&self, other: &FineTuningCheckpointPermission) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FineTuningCheckpointPermission
Auto Trait Implementations§
impl Freeze for FineTuningCheckpointPermission
impl RefUnwindSafe for FineTuningCheckpointPermission
impl Send for FineTuningCheckpointPermission
impl Sync for FineTuningCheckpointPermission
impl Unpin for FineTuningCheckpointPermission
impl UnwindSafe for FineTuningCheckpointPermission
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