pub struct SseEventStreamItemError {
pub code: Option<String>,
pub message: Option<String>,
pub type_: Option<String>,
}Expand description
Error payload for error events.
Fields§
§code: Option<String>§message: Option<String>§type_: Option<String>Implementations§
Source§impl SseEventStreamItemError
impl SseEventStreamItemError
pub fn builder() -> SseEventStreamItemError
Trait Implementations§
Source§impl Clone for SseEventStreamItemError
impl Clone for SseEventStreamItemError
Source§impl Debug for SseEventStreamItemError
impl Debug for SseEventStreamItemError
Source§impl Default for SseEventStreamItemError
impl Default for SseEventStreamItemError
Source§impl<'de> Deserialize<'de> for SseEventStreamItemError
impl<'de> Deserialize<'de> for SseEventStreamItemError
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 From<SseEventStreamItemError> for SseEventStreamItemError
impl From<SseEventStreamItemError> for SseEventStreamItemError
Source§fn from(value: SseEventStreamItemError) -> Self
fn from(value: SseEventStreamItemError) -> Self
Converts to this type from the input type.
Source§impl Serialize for SseEventStreamItemError
impl Serialize for SseEventStreamItemError
Source§impl TryFrom<SseEventStreamItemError> for SseEventStreamItemError
impl TryFrom<SseEventStreamItemError> for SseEventStreamItemError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SseEventStreamItemError) -> Result<Self, ConversionError>
fn try_from(value: SseEventStreamItemError) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for SseEventStreamItemError
impl Freeze for SseEventStreamItemError
impl Move for SseEventStreamItemError
impl RefUnwindSafe for SseEventStreamItemError
impl Send for SseEventStreamItemErrorwhere
RawVecInner: Send,
impl Sync for SseEventStreamItemErrorwhere
RawVecInner: Sync,
impl Unpin for SseEventStreamItemError
impl UnsafeUnpin for SseEventStreamItemError
impl UnwindSafe for SseEventStreamItemErrorwhere
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