pub struct StdinResponse {
pub exec_id: String,
pub written: usize,
pub eof: bool,
}Expand description
POST /v1/exec/{id}/stdin response.
pub rather than private, like every other type in this module the schema
route publishes: the generator names them by type, so a response shape that
stays private is a shape a consumer cannot be told about.
Fields§
§exec_id: String§written: usize§eof: boolTrait Implementations§
Source§impl Debug for StdinResponse
impl Debug for StdinResponse
Source§impl<'de> Deserialize<'de> for StdinResponse
impl<'de> Deserialize<'de> for StdinResponse
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 JsonSchema for StdinResponse
impl JsonSchema for StdinResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for StdinResponse
impl RefUnwindSafe for StdinResponse
impl Send for StdinResponse
impl Sync for StdinResponse
impl Unpin for StdinResponse
impl UnsafeUnpin for StdinResponse
impl UnwindSafe for StdinResponse
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