pub struct HttpResponse {
pub status: u16,
pub body: String,
}Fields§
§status: u16§body: StringTrait Implementations§
Source§impl Clone for RuntimeHttpResponse
impl Clone for RuntimeHttpResponse
Source§fn clone(&self) -> RuntimeHttpResponse
fn clone(&self) -> RuntimeHttpResponse
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 moreSource§impl Debug for RuntimeHttpResponse
impl Debug for RuntimeHttpResponse
impl Eq for RuntimeHttpResponse
Source§impl PartialEq for RuntimeHttpResponse
impl PartialEq for RuntimeHttpResponse
Source§fn eq(&self, other: &RuntimeHttpResponse) -> bool
fn eq(&self, other: &RuntimeHttpResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeHttpResponse
Auto Trait Implementations§
impl Freeze for RuntimeHttpResponse
impl RefUnwindSafe for RuntimeHttpResponse
impl Send for RuntimeHttpResponse
impl Sync for RuntimeHttpResponse
impl Unpin for RuntimeHttpResponse
impl UnsafeUnpin for RuntimeHttpResponse
impl UnwindSafe for RuntimeHttpResponse
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,
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.