Struct replicate_rust::api_definitions::CreateTraining
source · pub struct CreateTraining {
pub id: String,
pub version: String,
pub status: PredictionStatus,
pub input: Option<HashMap<String, String>>,
pub output: Option<HashMap<String, String>>,
pub logs: Option<String>,
pub started_at: Option<String>,
pub created_at: String,
pub completed_at: Option<String>,
}
Expand description
POST https://api.replicate.com/v1/models/{model_owner}/{model_name}/versions/{version_id}/trainings
Fields§
§id: String
§version: String
§status: PredictionStatus
§input: Option<HashMap<String, String>>
§output: Option<HashMap<String, String>>
§logs: Option<String>
§started_at: Option<String>
§created_at: String
§completed_at: Option<String>
Trait Implementations§
source§impl Clone for CreateTraining
impl Clone for CreateTraining
source§fn clone(&self) -> CreateTraining
fn clone(&self) -> CreateTraining
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 Debug for CreateTraining
impl Debug for CreateTraining
source§impl<'de> Deserialize<'de> for CreateTraining
impl<'de> Deserialize<'de> for CreateTraining
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 Display for CreateTraining
impl Display for CreateTraining
source§impl PartialEq<CreateTraining> for CreateTraining
impl PartialEq<CreateTraining> for CreateTraining
source§fn eq(&self, other: &CreateTraining) -> bool
fn eq(&self, other: &CreateTraining) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CreateTraining
impl Serialize for CreateTraining
impl StructuralPartialEq for CreateTraining
Auto Trait Implementations§
impl RefUnwindSafe for CreateTraining
impl Send for CreateTraining
impl Sync for CreateTraining
impl Unpin for CreateTraining
impl UnwindSafe for CreateTraining
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