pub struct PredictionUrls {
pub cancel: String,
pub get: String,
pub stream: Option<String>,
}Expand description
Provided urls to either cancel or retrieve updated details for the specific prediction.
Fields§
§cancel: StringUrl endpoint to cancel the specific prediction
get: StringUrl endpoint to retrieve the specific prediction
stream: Option<String>Url endpoint to receive streamed output
Trait Implementations§
Source§impl Debug for PredictionUrls
impl Debug for PredictionUrls
Source§impl<'de> Deserialize<'de> for PredictionUrls
impl<'de> Deserialize<'de> for PredictionUrls
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 Freeze for PredictionUrls
impl RefUnwindSafe for PredictionUrls
impl Send for PredictionUrls
impl Sync for PredictionUrls
impl Unpin for PredictionUrls
impl UnwindSafe for PredictionUrls
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