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 copy 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<PredictionsListItem> for PredictionsListItem
impl PartialEq<PredictionsListItem> for PredictionsListItem
source§fn eq(&self, other: &PredictionsListItem) -> bool
fn eq(&self, other: &PredictionsListItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PredictionsListItem
impl Serialize for PredictionsListItem
impl StructuralPartialEq for PredictionsListItem
Auto Trait Implementations§
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