Struct replicate_rust::api_definitions::GetTraining
source · pub struct GetTraining {
pub id: String,
pub version: String,
pub status: PredictionStatus,
pub input: Option<HashMap<String, String>>,
pub output: Option<HashMap<String, String>>,
pub error: Option<String>,
pub logs: Option<String>,
pub webhook_completed: Option<String>,
pub started_at: Option<String>,
pub created_at: String,
pub completed_at: Option<String>,
}
Expand description
GET https://api.replicate.com/v1/trainings/{training_id}
Fields§
§id: String
§version: String
§status: PredictionStatus
§input: Option<HashMap<String, String>>
§output: Option<HashMap<String, String>>
§error: Option<String>
§logs: Option<String>
§webhook_completed: Option<String>
§started_at: Option<String>
§created_at: String
§completed_at: Option<String>
Trait Implementations§
source§impl Debug for GetTraining
impl Debug for GetTraining
source§impl<'de> Deserialize<'de> for GetTraining
impl<'de> Deserialize<'de> for GetTraining
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 GetTraining
impl Send for GetTraining
impl Sync for GetTraining
impl Unpin for GetTraining
impl UnwindSafe for GetTraining
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