pub struct ResponseStreamErrorPayload {
pub type_: String,
pub code: Option<String>,
pub message: String,
pub param: Option<String>,
}Fields§
§type_: String§code: Option<String>§message: String§param: Option<String>Implementations§
Source§impl ResponseStreamErrorPayload
impl ResponseStreamErrorPayload
pub fn code_or_type(&self) -> &str
Trait Implementations§
Source§impl Clone for ResponseStreamErrorPayload
impl Clone for ResponseStreamErrorPayload
Source§fn clone(&self) -> ResponseStreamErrorPayload
fn clone(&self) -> ResponseStreamErrorPayload
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 ResponseStreamErrorPayload
impl Debug for ResponseStreamErrorPayload
Source§impl<'de> Deserialize<'de> for ResponseStreamErrorPayload
impl<'de> Deserialize<'de> for ResponseStreamErrorPayload
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
impl Eq for ResponseStreamErrorPayload
impl StructuralPartialEq for ResponseStreamErrorPayload
Auto Trait Implementations§
impl Freeze for ResponseStreamErrorPayload
impl RefUnwindSafe for ResponseStreamErrorPayload
impl Send for ResponseStreamErrorPayload
impl Sync for ResponseStreamErrorPayload
impl Unpin for ResponseStreamErrorPayload
impl UnsafeUnpin for ResponseStreamErrorPayload
impl UnwindSafe for ResponseStreamErrorPayload
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