pub struct ConnectionReport {
pub name: String,
pub ok: bool,
pub secrets: Vec<SecretReport>,
pub error: Option<String>,
pub duration_ms: Option<u64>,
}Expand description
What a worker found about one connection: never a value.
Fields§
§name: StringThe connection.
ok: boolWhether it rendered (a check) or opened and passed its check (a test).
secrets: Vec<SecretReport>Each secret it names, and whether the worker’s storage has it.
error: Option<String>What went wrong, masked.
duration_ms: Option<u64>How long a test took, in milliseconds.
Trait Implementations§
Source§impl Clone for ConnectionReport
impl Clone for ConnectionReport
Source§fn clone(&self) -> ConnectionReport
fn clone(&self) -> ConnectionReport
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 ConnectionReport
impl Debug for ConnectionReport
Source§impl<'de> Deserialize<'de> for ConnectionReport
impl<'de> Deserialize<'de> for ConnectionReport
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 ConnectionReport
Source§impl JsonSchema for ConnectionReport
impl JsonSchema for ConnectionReport
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 ConnectionReport
impl PartialEq for ConnectionReport
Source§impl Serialize for ConnectionReport
impl Serialize for ConnectionReport
impl StructuralPartialEq for ConnectionReport
Auto Trait Implementations§
impl Freeze for ConnectionReport
impl RefUnwindSafe for ConnectionReport
impl Send for ConnectionReport
impl Sync for ConnectionReport
impl Unpin for ConnectionReport
impl UnsafeUnpin for ConnectionReport
impl UnwindSafe for ConnectionReport
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