pub struct RequestWrapper {
pub request: Request,
}Expand description
RequestWrapper is a serialization wrapper for a Request.
A Request object serializes into a value for an object, not an object that is ‘{“request”: {….} }’. This wrapper provides the request wrapping that Omaha expects to see.
Fields§
§request: RequestTrait Implementations§
Source§impl Debug for RequestWrapper
impl Debug for RequestWrapper
Source§impl Default for RequestWrapper
impl Default for RequestWrapper
Source§fn default() -> RequestWrapper
fn default() -> RequestWrapper
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RequestWrapper
impl RefUnwindSafe for RequestWrapper
impl Send for RequestWrapper
impl Sync for RequestWrapper
impl Unpin for RequestWrapper
impl UnwindSafe for RequestWrapper
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more