pub struct Fire {
pub id: String,
pub job_id: String,
pub session_id: Option<String>,
pub status: FireStatus,
pub claimed_at: String,
pub started_at: Option<String>,
pub finished_at: Option<String>,
pub error: Option<String>,
pub obligation_id: Option<String>,
pub residue: Residue,
}Expand description
One fire.
Fields§
§id: StringThe fire id, which is also its session name cron_<job_id>_<ts>.
job_id: StringThe job.
session_id: Option<String>The session it opened, when known.
status: FireStatusStatus.
claimed_at: StringClaim instant.
started_at: Option<String>Start instant.
finished_at: Option<String>Finish instant.
error: Option<String>The error, on failure.
obligation_id: Option<String>The delivery this fire produced, if any.
residue: ResidueLedger columns the record does not model (source, pid, …), verbatim.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fire
impl<'de> Deserialize<'de> for Fire
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Fire, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Fire, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Fire
Source§impl JsonSchema for Fire
impl JsonSchema for Fire
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for Fire
impl Serialize for Fire
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Fire
Auto Trait Implementations§
impl Freeze for Fire
impl RefUnwindSafe for Fire
impl Send for Fire
impl Sync for Fire
impl Unpin for Fire
impl UnsafeUnpin for Fire
impl UnwindSafe for Fire
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.