pub struct LegacyResponse {
pub status: u16,
pub headers: Value,
pub body: String,
}Expand description
Legacy response format for backward compatibility
Fields§
§status: u16§headers: Value§body: StringImplementations§
Trait Implementations§
Source§impl Clone for LegacyResponse
impl Clone for LegacyResponse
Source§fn clone(&self) -> LegacyResponse
fn clone(&self) -> LegacyResponse
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 moreSource§impl Debug for LegacyResponse
impl Debug for LegacyResponse
Source§impl<'de> Deserialize<'de> for LegacyResponse
impl<'de> Deserialize<'de> for LegacyResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LegacyResponse
impl PartialEq for LegacyResponse
Source§impl Serialize for LegacyResponse
impl Serialize for LegacyResponse
impl StructuralPartialEq for LegacyResponse
Auto Trait Implementations§
impl Freeze for LegacyResponse
impl RefUnwindSafe for LegacyResponse
impl Send for LegacyResponse
impl Sync for LegacyResponse
impl Unpin for LegacyResponse
impl UnwindSafe for LegacyResponse
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