pub struct ResponseContent {
pub status: StatusCode,
pub content: String,
}Fields§
§status: StatusCode§content: StringTrait Implementations§
Source§impl Clone for ResponseContent
impl Clone for ResponseContent
Source§fn clone(&self) -> ResponseContent
fn clone(&self) -> ResponseContent
Returns a duplicate 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 ResponseContent
impl RefUnwindSafe for ResponseContent
impl Send for ResponseContent
impl Sync for ResponseContent
impl Unpin for ResponseContent
impl UnwindSafe for ResponseContent
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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