pub struct PredictionUrls {
pub get: String,
pub cancel: String,
pub stream: Option<String>,
}
Expand description
URLs associated with a prediction.
Fields§
§get: String
URL to fetch the prediction
cancel: String
URL to cancel the prediction
stream: Option<String>
URL to stream the prediction output (if supported)
Trait Implementations§
Source§impl Clone for PredictionUrls
impl Clone for PredictionUrls
Source§fn clone(&self) -> PredictionUrls
fn clone(&self) -> PredictionUrls
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 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