#[non_exhaustive]pub struct InvokeWithResponseStreamCompleteEventBuilder { /* private fields */ }
Expand description
A builder for InvokeWithResponseStreamCompleteEvent
.
Implementations§
source§impl InvokeWithResponseStreamCompleteEventBuilder
impl InvokeWithResponseStreamCompleteEventBuilder
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
An error code.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
An error code.
sourcepub fn get_error_code(&self) -> &Option<String>
pub fn get_error_code(&self) -> &Option<String>
An error code.
sourcepub fn error_details(self, input: impl Into<String>) -> Self
pub fn error_details(self, input: impl Into<String>) -> Self
The details of any returned error.
sourcepub fn set_error_details(self, input: Option<String>) -> Self
pub fn set_error_details(self, input: Option<String>) -> Self
The details of any returned error.
sourcepub fn get_error_details(&self) -> &Option<String>
pub fn get_error_details(&self) -> &Option<String>
The details of any returned error.
sourcepub fn log_result(self, input: impl Into<String>) -> Self
pub fn log_result(self, input: impl Into<String>) -> Self
The last 4 KB of the execution log, which is base64-encoded.
sourcepub fn set_log_result(self, input: Option<String>) -> Self
pub fn set_log_result(self, input: Option<String>) -> Self
The last 4 KB of the execution log, which is base64-encoded.
sourcepub fn get_log_result(&self) -> &Option<String>
pub fn get_log_result(&self) -> &Option<String>
The last 4 KB of the execution log, which is base64-encoded.
sourcepub fn build(self) -> InvokeWithResponseStreamCompleteEvent
pub fn build(self) -> InvokeWithResponseStreamCompleteEvent
Consumes the builder and constructs a InvokeWithResponseStreamCompleteEvent
.
Trait Implementations§
source§impl Clone for InvokeWithResponseStreamCompleteEventBuilder
impl Clone for InvokeWithResponseStreamCompleteEventBuilder
source§fn clone(&self) -> InvokeWithResponseStreamCompleteEventBuilder
fn clone(&self) -> InvokeWithResponseStreamCompleteEventBuilder
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 Default for InvokeWithResponseStreamCompleteEventBuilder
impl Default for InvokeWithResponseStreamCompleteEventBuilder
source§fn default() -> InvokeWithResponseStreamCompleteEventBuilder
fn default() -> InvokeWithResponseStreamCompleteEventBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InvokeWithResponseStreamCompleteEventBuilder
impl PartialEq for InvokeWithResponseStreamCompleteEventBuilder
source§fn eq(&self, other: &InvokeWithResponseStreamCompleteEventBuilder) -> bool
fn eq(&self, other: &InvokeWithResponseStreamCompleteEventBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InvokeWithResponseStreamCompleteEventBuilder
Auto Trait Implementations§
impl Freeze for InvokeWithResponseStreamCompleteEventBuilder
impl RefUnwindSafe for InvokeWithResponseStreamCompleteEventBuilder
impl Send for InvokeWithResponseStreamCompleteEventBuilder
impl Sync for InvokeWithResponseStreamCompleteEventBuilder
impl Unpin for InvokeWithResponseStreamCompleteEventBuilder
impl UnwindSafe for InvokeWithResponseStreamCompleteEventBuilder
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.