pub struct ExecutionResultResponse {
pub name: String,
pub version: String,
pub develop: bool,
pub success: bool,
pub paths: Vec<String>,
pub media: String,
pub stdout_bytes: u64,
pub stderr_bytes: u64,
}Expand description
ExecutionResultResponse holds what the owner saw when releasing the run’s output, which the host then reads through ExecutionOutputRequest.
Fields§
§name: StringApp name from its manifest
version: StringApp version from its manifest
develop: boolWhether the app is a develop build
success: boolWhether the run succeeded
paths: Vec<String>Paths of the owner’s data as mounted, without public grants
media: StringMedia type of the report, such as text/markdown
stdout_bytes: u64Length in bytes of the report, the app’s standard output
stderr_bytes: u64Length in bytes of a develop build’s standard error, 0 otherwise
Trait Implementations§
Source§impl Clone for ExecutionResultResponse
impl Clone for ExecutionResultResponse
Source§impl Debug for ExecutionResultResponse
impl Debug for ExecutionResultResponse
Source§impl Default for ExecutionResultResponse
impl Default for ExecutionResultResponse
impl Eq for ExecutionResultResponse
Source§impl From<ExecutionResultResponse> for Message
impl From<ExecutionResultResponse> for Message
Source§fn from(message: ExecutionResultResponse) -> Self
fn from(message: ExecutionResultResponse) -> Self
Wraps a concrete payload in its corresponding message variant.
Source§impl Hash for ExecutionResultResponse
impl Hash for ExecutionResultResponse
Source§impl Message for ExecutionResultResponse
impl Message for ExecutionResultResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ExecutionResultResponse
impl PartialEq for ExecutionResultResponse
impl StructuralPartialEq for ExecutionResultResponse
Auto Trait Implementations§
impl Freeze for ExecutionResultResponse
impl RefUnwindSafe for ExecutionResultResponse
impl Send for ExecutionResultResponse
impl Sync for ExecutionResultResponse
impl Unpin for ExecutionResultResponse
impl UnsafeUnpin for ExecutionResultResponse
impl UnwindSafe for ExecutionResultResponse
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