pub struct CreatePrediction {
pub id: String,
pub version: String,
pub urls: PredictionsUrls,
pub created_at: String,
pub status: PredictionStatus,
pub input: HashMap<String, Value>,
pub error: Option<String>,
pub logs: Option<String>,
}
Expand description
POST https://api.replicate.com/v1/predictions
Fields§
§id: String
§version: String
§urls: PredictionsUrls
§created_at: String
§status: PredictionStatus
§input: HashMap<String, Value>
§error: Option<String>
§logs: Option<String>
Trait Implementations§
Source§impl Clone for CreatePrediction
impl Clone for CreatePrediction
Source§fn clone(&self) -> CreatePrediction
fn clone(&self) -> CreatePrediction
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 CreatePrediction
impl Debug for CreatePrediction
Source§impl<'de> Deserialize<'de> for CreatePrediction
impl<'de> Deserialize<'de> for CreatePrediction
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 CreatePrediction
impl Display for CreatePrediction
Source§impl PartialEq for CreatePrediction
impl PartialEq for CreatePrediction
Source§impl Serialize for CreatePrediction
impl Serialize for CreatePrediction
impl StructuralPartialEq for CreatePrediction
Auto Trait Implementations§
impl Freeze for CreatePrediction
impl RefUnwindSafe for CreatePrediction
impl Send for CreatePrediction
impl Sync for CreatePrediction
impl Unpin for CreatePrediction
impl UnwindSafe for CreatePrediction
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