pub struct ConnectionJobResult {
pub root: String,
pub worker: String,
pub state: JobState,
pub reason: Option<String>,
pub connections: Vec<ConnectionReport>,
}Expand description
One root’s job: the worker it went to and, once it answered, each connection’s report.
Fields§
§root: StringThe root.
worker: StringThe worker running it.
state: JobStateWhere it stands.
reason: Option<String>Why it has no answer (lost).
connections: Vec<ConnectionReport>Each connection’s report, once done.
Trait Implementations§
Source§impl Clone for ConnectionJobResult
impl Clone for ConnectionJobResult
Source§fn clone(&self) -> ConnectionJobResult
fn clone(&self) -> ConnectionJobResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConnectionJobResult
impl Debug for ConnectionJobResult
Source§impl<'de> Deserialize<'de> for ConnectionJobResult
impl<'de> Deserialize<'de> for ConnectionJobResult
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 ConnectionJobResult
Source§impl JsonSchema for ConnectionJobResult
impl JsonSchema for ConnectionJobResult
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 ConnectionJobResult
impl PartialEq for ConnectionJobResult
Source§impl Serialize for ConnectionJobResult
impl Serialize for ConnectionJobResult
impl StructuralPartialEq for ConnectionJobResult
Auto Trait Implementations§
impl Freeze for ConnectionJobResult
impl RefUnwindSafe for ConnectionJobResult
impl Send for ConnectionJobResult
impl Sync for ConnectionJobResult
impl Unpin for ConnectionJobResult
impl UnsafeUnpin for ConnectionJobResult
impl UnwindSafe for ConnectionJobResult
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