Struct wasi::http::types::FieldSizePayload
source · pub struct FieldSizePayload {
pub field_name: Option<String>,
pub field_size: Option<u32>,
}
Expand description
Defines the case payload type for HTTP-response-{header,trailer}-size
above:
Fields§
§field_name: Option<String>
§field_size: Option<u32>
Trait Implementations§
source§impl Clone for FieldSizePayload
impl Clone for FieldSizePayload
source§fn clone(&self) -> FieldSizePayload
fn clone(&self) -> FieldSizePayload
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 moreAuto Trait Implementations§
impl Freeze for FieldSizePayload
impl RefUnwindSafe for FieldSizePayload
impl Send for FieldSizePayload
impl Sync for FieldSizePayload
impl Unpin for FieldSizePayload
impl UnwindSafe for FieldSizePayload
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