pub struct InjectedHttpResponse {
pub status: u16,
pub body: String,
}Expand description
Minimal HTTP response used by the device-flow / mint state machine.
Fields§
§status: u16§body: StringTrait Implementations§
Source§impl Clone for InjectedHttpResponse
impl Clone for InjectedHttpResponse
Source§fn clone(&self) -> InjectedHttpResponse
fn clone(&self) -> InjectedHttpResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InjectedHttpResponse
impl RefUnwindSafe for InjectedHttpResponse
impl Send for InjectedHttpResponse
impl Sync for InjectedHttpResponse
impl Unpin for InjectedHttpResponse
impl UnsafeUnpin for InjectedHttpResponse
impl UnwindSafe for InjectedHttpResponse
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