pub struct Http4XxResponse {
pub detail: Option<String>,
pub origin: Option<String>,
pub request_id: Option<String>,
pub title: Option<String>,
}Fields§
§detail: Option<String>Детали ошибки
origin: Option<String>ID внутреннего сервиса WB
request_id: Option<String>Уникальный ID запроса
title: Option<String>Заголовок ошибки
Implementations§
Source§impl Http4XxResponse
impl Http4XxResponse
pub fn new() -> Http4XxResponse
Trait Implementations§
Source§impl Clone for Http4XxResponse
impl Clone for Http4XxResponse
Source§impl Debug for Http4XxResponse
impl Debug for Http4XxResponse
Source§impl Default for Http4XxResponse
impl Default for Http4XxResponse
Source§impl<'de> Deserialize<'de> for Http4XxResponse
impl<'de> Deserialize<'de> for Http4XxResponse
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 Http4XxResponse
impl PartialEq for Http4XxResponse
Source§impl Serialize for Http4XxResponse
impl Serialize for Http4XxResponse
impl StructuralPartialEq for Http4XxResponse
Auto Trait Implementations§
impl Forget for Http4XxResponse
impl Freeze for Http4XxResponse
impl Move for Http4XxResponse
impl RefUnwindSafe for Http4XxResponse
impl Send for Http4XxResponsewhere
RawVecInner: Send,
impl Sync for Http4XxResponsewhere
RawVecInner: Sync,
impl Unpin for Http4XxResponse
impl UnsafeUnpin for Http4XxResponse
impl UnwindSafe for Http4XxResponsewhere
RawVecInner: UnwindSafe,
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