pub struct ProviderPrint {
pub id: i64,
pub file_name: Option<String>,
pub started_at: Option<Timestamp>,
}Expand description
The provider’s own identifier for the print an alert is about.
Held in the provider’s representation — a 64-bit integer, which is what every provider this system has met uses — and named for what it is rather than for the provider, so that the supervision domain correlates on it without knowing whose it is.
Fields§
§id: i64The provider’s own identifier for the print.
file_name: Option<String>The file the provider named, when it named one.
started_at: Option<Timestamp>When the provider says the print started, when it said.
What tells this print’s job from a later job of the same file that the supervisor found before any alert about it arrived.
Trait Implementations§
Source§impl Clone for ProviderPrint
impl Clone for ProviderPrint
Source§impl Debug for ProviderPrint
impl Debug for ProviderPrint
Source§impl<'de> Deserialize<'de> for ProviderPrint
impl<'de> Deserialize<'de> for ProviderPrint
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
impl Eq for ProviderPrint
Source§impl JsonSchema for ProviderPrint
impl JsonSchema for ProviderPrint
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 PartialEq for ProviderPrint
impl PartialEq for ProviderPrint
Source§impl Serialize for ProviderPrint
impl Serialize for ProviderPrint
impl StructuralPartialEq for ProviderPrint
Auto Trait Implementations§
impl Forget for ProviderPrint
impl Freeze for ProviderPrint
impl Move for ProviderPrint
impl RefUnwindSafe for ProviderPrint
impl Send for ProviderPrint
impl Sync for ProviderPrint
impl Unpin for ProviderPrint
impl UnsafeUnpin for ProviderPrint
impl UnwindSafe for ProviderPrint
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