pub struct PredictionsListItem {
pub id: String,
pub version: String,
pub urls: PredictionsUrls,
pub created_at: String,
pub started_at: String,
pub completed_at: Option<String>,
pub source: Option<PredictionSource>,
pub status: PredictionStatus,
}
Expand description
Represents a prediction in the list of predictions
Fields§
§id: String
§version: String
§urls: PredictionsUrls
§created_at: String
§started_at: String
§completed_at: Option<String>
§source: Option<PredictionSource>
§status: PredictionStatus
Trait Implementations§
Source§impl Clone for PredictionsListItem
impl Clone for PredictionsListItem
Source§fn clone(&self) -> PredictionsListItem
fn clone(&self) -> PredictionsListItem
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 PredictionsListItem
impl Debug for PredictionsListItem
Source§impl<'de> Deserialize<'de> for PredictionsListItem
impl<'de> Deserialize<'de> for PredictionsListItem
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 PredictionsListItem
impl Display for PredictionsListItem
Source§impl PartialEq for PredictionsListItem
impl PartialEq for PredictionsListItem
Source§impl Serialize for PredictionsListItem
impl Serialize for PredictionsListItem
impl StructuralPartialEq for PredictionsListItem
Auto Trait Implementations§
impl Freeze for PredictionsListItem
impl RefUnwindSafe for PredictionsListItem
impl Send for PredictionsListItem
impl Sync for PredictionsListItem
impl Unpin for PredictionsListItem
impl UnwindSafe for PredictionsListItem
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