pub struct ExternalAdapterResponse {Show 14 fields
pub schema: String,
pub protocol_version: String,
pub invocation_id: String,
pub adapter_id: String,
pub status: ExternalAdapterStatus,
pub stdout: Option<String>,
pub stderr: Option<String>,
pub exit_code: Option<Option<i64>>,
pub output: Option<JsonObject>,
pub artifacts: Option<Vec<ExternalAdapterArtifactObservation>>,
pub errors: Option<Vec<ExternalAdapterErrorObservation>>,
pub telemetry: Option<Vec<ExternalAdapterTelemetryObservation>>,
pub metadata: Option<JsonObject>,
pub observed_at: String,
}Fields§
§schema: String§protocol_version: String§invocation_id: String§adapter_id: String§status: ExternalAdapterStatus§stdout: Option<String>§stderr: Option<String>§exit_code: Option<Option<i64>>§output: Option<JsonObject>§artifacts: Option<Vec<ExternalAdapterArtifactObservation>>§errors: Option<Vec<ExternalAdapterErrorObservation>>§telemetry: Option<Vec<ExternalAdapterTelemetryObservation>>§metadata: Option<JsonObject>§observed_at: StringTrait Implementations§
Source§impl Clone for ExternalAdapterResponse
impl Clone for ExternalAdapterResponse
Source§fn clone(&self) -> ExternalAdapterResponse
fn clone(&self) -> ExternalAdapterResponse
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 ExternalAdapterResponse
impl Debug for ExternalAdapterResponse
Source§impl<'de> Deserialize<'de> for ExternalAdapterResponse
impl<'de> Deserialize<'de> for ExternalAdapterResponse
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 PartialEq for ExternalAdapterResponse
impl PartialEq for ExternalAdapterResponse
Source§fn eq(&self, other: &ExternalAdapterResponse) -> bool
fn eq(&self, other: &ExternalAdapterResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RunxSchema for ExternalAdapterResponse
impl RunxSchema for ExternalAdapterResponse
Source§fn json_schema() -> Value
fn json_schema() -> Value
The inlined JSON Schema for this type.
Source§impl Serialize for ExternalAdapterResponse
impl Serialize for ExternalAdapterResponse
impl StructuralPartialEq for ExternalAdapterResponse
Auto Trait Implementations§
impl Freeze for ExternalAdapterResponse
impl RefUnwindSafe for ExternalAdapterResponse
impl Send for ExternalAdapterResponse
impl Sync for ExternalAdapterResponse
impl Unpin for ExternalAdapterResponse
impl UnsafeUnpin for ExternalAdapterResponse
impl UnwindSafe for ExternalAdapterResponse
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