pub struct JobMeta {
pub status: String,
pub created_at: String,
pub completed_at: String,
pub pinned: bool,
pub spec_id: i32,
pub season_id: String,
}Expand description
Queryable metadata stored as meta jsonb on the jobs row.
Fields§
§status: String§created_at: String§completed_at: String§pinned: bool§spec_id: i32§season_id: StringImplementations§
Source§impl JobMeta
impl JobMeta
pub fn new_pending() -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobMeta
impl<'de> Deserialize<'de> for JobMeta
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 IntoWasmAbi for &JobMeta
impl IntoWasmAbi for &JobMeta
Source§impl IntoWasmAbi for JobMeta
impl IntoWasmAbi for JobMeta
Source§impl OptionIntoWasmAbi for JobMeta
impl OptionIntoWasmAbi for JobMeta
Source§impl Tsify for JobMeta
impl Tsify for JobMeta
const DECL: &'static str = "/**\n * Queryable metadata stored as `meta` jsonb on the `jobs` row.\n */\nexport interface JobMeta {\n status: string;\n created_at: string;\n completed_at: string;\n pinned: boolean;\n spec_id: number;\n season_id: string;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorIntoWasmAbi for JobMeta
impl VectorIntoWasmAbi for JobMeta
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for JobMeta
impl WasmDescribeVector for JobMeta
Auto Trait Implementations§
impl Freeze for JobMeta
impl RefUnwindSafe for JobMeta
impl Send for JobMeta
impl Sync for JobMeta
impl Unpin for JobMeta
impl UnsafeUnpin for JobMeta
impl UnwindSafe for JobMeta
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.