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 Clone for GetTraining
impl Clone for GetTraining
Source§fn clone(&self) -> GetTraining
fn clone(&self) -> GetTraining
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 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
Source§impl Display for GetTraining
impl Display for GetTraining
Source§impl PartialEq for GetTraining
impl PartialEq for GetTraining
Source§impl Serialize for GetTraining
impl Serialize for GetTraining
impl StructuralPartialEq for GetTraining
Auto Trait Implementations§
impl Freeze for GetTraining
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