#[non_exhaustive]pub struct EvaluateCodeOutput {
pub evaluation_result: Option<String>,
pub error: Option<EvaluateCodeErrorDetail>,
pub logs: Option<Vec<String>>,
/* private fields */
}
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.evaluation_result: Option<String>
The result of the evaluation operation.
error: Option<EvaluateCodeErrorDetail>
Contains the payload of the response error.
logs: Option<Vec<String>>
A list of logs that were generated by calls to util.log.info
and util.log.error
in the evaluated code.
Implementations§
source§impl EvaluateCodeOutput
impl EvaluateCodeOutput
sourcepub fn evaluation_result(&self) -> Option<&str>
pub fn evaluation_result(&self) -> Option<&str>
The result of the evaluation operation.
sourcepub fn error(&self) -> Option<&EvaluateCodeErrorDetail>
pub fn error(&self) -> Option<&EvaluateCodeErrorDetail>
Contains the payload of the response error.
source§impl EvaluateCodeOutput
impl EvaluateCodeOutput
sourcepub fn builder() -> EvaluateCodeOutputBuilder
pub fn builder() -> EvaluateCodeOutputBuilder
Creates a new builder-style object to manufacture EvaluateCodeOutput
.
Trait Implementations§
source§impl Clone for EvaluateCodeOutput
impl Clone for EvaluateCodeOutput
source§fn clone(&self) -> EvaluateCodeOutput
fn clone(&self) -> EvaluateCodeOutput
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 Debug for EvaluateCodeOutput
impl Debug for EvaluateCodeOutput
source§impl PartialEq<EvaluateCodeOutput> for EvaluateCodeOutput
impl PartialEq<EvaluateCodeOutput> for EvaluateCodeOutput
source§fn eq(&self, other: &EvaluateCodeOutput) -> bool
fn eq(&self, other: &EvaluateCodeOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for EvaluateCodeOutput
impl RequestId for EvaluateCodeOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for EvaluateCodeOutput
Auto Trait Implementations§
impl RefUnwindSafe for EvaluateCodeOutput
impl Send for EvaluateCodeOutput
impl Sync for EvaluateCodeOutput
impl Unpin for EvaluateCodeOutput
impl UnwindSafe for EvaluateCodeOutput
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