pub struct CheckpointPermissionCreated {
pub id: Option<String>,
pub data: Option<Data>,
}
Expand description
The project and fine-tuned model checkpoint that the checkpoint permission was created for.
Fields§
§id: Option<String>
The ID of the checkpoint permission.
data: Option<Data>
The payload used to create the checkpoint permission.
Implementations§
Source§impl CheckpointPermissionCreated
impl CheckpointPermissionCreated
Sourcepub fn builder() -> CheckpointPermissionCreatedBuilder<((), ())>
pub fn builder() -> CheckpointPermissionCreatedBuilder<((), ())>
Create a builder for building CheckpointPermissionCreated
.
On the builder, call .id(...)
(optional), .data(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of CheckpointPermissionCreated
.
Trait Implementations§
Source§impl Clone for CheckpointPermissionCreated
impl Clone for CheckpointPermissionCreated
Source§fn clone(&self) -> CheckpointPermissionCreated
fn clone(&self) -> CheckpointPermissionCreated
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 Debug for CheckpointPermissionCreated
impl Debug for CheckpointPermissionCreated
Source§impl Default for CheckpointPermissionCreated
impl Default for CheckpointPermissionCreated
Source§fn default() -> CheckpointPermissionCreated
fn default() -> CheckpointPermissionCreated
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckpointPermissionCreated
impl<'de> Deserialize<'de> for CheckpointPermissionCreated
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
impl StructuralPartialEq for CheckpointPermissionCreated
Auto Trait Implementations§
impl Freeze for CheckpointPermissionCreated
impl RefUnwindSafe for CheckpointPermissionCreated
impl Send for CheckpointPermissionCreated
impl Sync for CheckpointPermissionCreated
impl Unpin for CheckpointPermissionCreated
impl UnwindSafe for CheckpointPermissionCreated
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