pub struct WorkerStdioRequestEnvelope {
pub schema_version: u32,
pub request: WorkerStdioRequest,
}Expand description
One strict, versioned worker stdio request.
Fields§
§schema_version: u32Stdio envelope schema version.
request: WorkerStdioRequestRequested read-only control-plane operation.
Implementations§
Source§impl WorkerStdioRequestEnvelope
impl WorkerStdioRequestEnvelope
Sourcepub const fn new(request: WorkerStdioRequest) -> Self
pub const fn new(request: WorkerStdioRequest) -> Self
Wrap one request in the current stdio schema.
Trait Implementations§
Source§impl Clone for WorkerStdioRequestEnvelope
impl Clone for WorkerStdioRequestEnvelope
Source§impl Debug for WorkerStdioRequestEnvelope
impl Debug for WorkerStdioRequestEnvelope
Source§impl<'de> Deserialize<'de> for WorkerStdioRequestEnvelope
impl<'de> Deserialize<'de> for WorkerStdioRequestEnvelope
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
impl Eq for WorkerStdioRequestEnvelope
impl StructuralPartialEq for WorkerStdioRequestEnvelope
Auto Trait Implementations§
impl Freeze for WorkerStdioRequestEnvelope
impl RefUnwindSafe for WorkerStdioRequestEnvelope
impl Send for WorkerStdioRequestEnvelope
impl Sync for WorkerStdioRequestEnvelope
impl Unpin for WorkerStdioRequestEnvelope
impl UnsafeUnpin for WorkerStdioRequestEnvelope
impl UnwindSafe for WorkerStdioRequestEnvelope
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.