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 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
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