#[non_exhaustive]pub struct InvokeWithResponseStreamCompleteEvent {
pub error_code: Option<String>,
pub error_details: Option<String>,
pub log_result: Option<String>,
}
Expand description
A response confirming that the event stream is complete.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.error_code: Option<String>
An error code.
error_details: Option<String>
The details of any returned error.
log_result: Option<String>
The last 4 KB of the execution log, which is base64-encoded.
Implementations§
source§impl InvokeWithResponseStreamCompleteEvent
impl InvokeWithResponseStreamCompleteEvent
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
An error code.
sourcepub fn error_details(&self) -> Option<&str>
pub fn error_details(&self) -> Option<&str>
The details of any returned error.
sourcepub fn log_result(&self) -> Option<&str>
pub fn log_result(&self) -> Option<&str>
The last 4 KB of the execution log, which is base64-encoded.
source§impl InvokeWithResponseStreamCompleteEvent
impl InvokeWithResponseStreamCompleteEvent
sourcepub fn builder() -> InvokeWithResponseStreamCompleteEventBuilder
pub fn builder() -> InvokeWithResponseStreamCompleteEventBuilder
Creates a new builder-style object to manufacture InvokeWithResponseStreamCompleteEvent
.
Trait Implementations§
source§impl Clone for InvokeWithResponseStreamCompleteEvent
impl Clone for InvokeWithResponseStreamCompleteEvent
source§fn clone(&self) -> InvokeWithResponseStreamCompleteEvent
fn clone(&self) -> InvokeWithResponseStreamCompleteEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for InvokeWithResponseStreamCompleteEvent
impl PartialEq for InvokeWithResponseStreamCompleteEvent
source§fn eq(&self, other: &InvokeWithResponseStreamCompleteEvent) -> bool
fn eq(&self, other: &InvokeWithResponseStreamCompleteEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InvokeWithResponseStreamCompleteEvent
Auto Trait Implementations§
impl Freeze for InvokeWithResponseStreamCompleteEvent
impl RefUnwindSafe for InvokeWithResponseStreamCompleteEvent
impl Send for InvokeWithResponseStreamCompleteEvent
impl Sync for InvokeWithResponseStreamCompleteEvent
impl Unpin for InvokeWithResponseStreamCompleteEvent
impl UnwindSafe for InvokeWithResponseStreamCompleteEvent
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.