pub struct JobStatus<'a> {
pub blob: Option<BlobRef<'a>>,
pub did: Did<'a>,
pub error: Option<CowStr<'a>>,
pub job_id: CowStr<'a>,
pub message: Option<CowStr<'a>>,
pub progress: Option<i64>,
pub state: JobStatusState<'a>,
pub extra_data: Option<BTreeMap<SmolStr, Data<'a>>>,
}Fields§
§blob: Option<BlobRef<'a>>§did: Did<'a>§error: Option<CowStr<'a>>§job_id: CowStr<'a>§message: Option<CowStr<'a>>§progress: Option<i64>Progress within the current processing state.
state: JobStatusState<'a>The state of the video processing job. All values not listed as a known value indicate that the job is in process.
extra_data: Option<BTreeMap<SmolStr, Data<'a>>>Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for JobStatus<'a>
impl<'de: 'a, 'a> Deserialize<'de> for JobStatus<'a>
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<'a> IntoStatic for JobStatus<'a>
impl<'a> IntoStatic for JobStatus<'a>
Source§impl<'a> LexiconSchema for JobStatus<'a>
impl<'a> LexiconSchema for JobStatus<'a>
Source§fn lexicon_doc() -> LexiconDoc<'static>
fn lexicon_doc() -> LexiconDoc<'static>
Generate the lexicon document for this type Read more
Source§fn validate(&self) -> Result<(), ConstraintError>
fn validate(&self) -> Result<(), ConstraintError>
Validate an instance against lexicon constraints Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether this type should be inlined vs referenced Read more
impl<'a> Eq for JobStatus<'a>
impl<'a> StructuralPartialEq for JobStatus<'a>
Auto Trait Implementations§
impl<'a> Freeze for JobStatus<'a>
impl<'a> RefUnwindSafe for JobStatus<'a>
impl<'a> Send for JobStatus<'a>
impl<'a> Sync for JobStatus<'a>
impl<'a> Unpin for JobStatus<'a>
impl<'a> UnsafeUnpin for JobStatus<'a>
impl<'a> UnwindSafe for JobStatus<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.