pub struct EnvelopeWarning {
pub code: String,
pub message: String,
}Expand description
A non-fatal warning carried alongside a payload.
Fields§
§code: StringStable warning code, kebab-case (e.g. stale-extractor).
message: StringHuman-readable message.
Trait Implementations§
Source§impl Clone for EnvelopeWarning
impl Clone for EnvelopeWarning
Source§impl Debug for EnvelopeWarning
impl Debug for EnvelopeWarning
Source§impl<'de> Deserialize<'de> for EnvelopeWarning
impl<'de> Deserialize<'de> for EnvelopeWarning
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 EnvelopeWarning
Source§impl PartialEq for EnvelopeWarning
impl PartialEq for EnvelopeWarning
Source§impl Serialize for EnvelopeWarning
impl Serialize for EnvelopeWarning
impl StructuralPartialEq for EnvelopeWarning
Auto Trait Implementations§
impl Forget for EnvelopeWarning
impl Freeze for EnvelopeWarning
impl Move for EnvelopeWarning
impl RefUnwindSafe for EnvelopeWarning
impl Send for EnvelopeWarning
impl Sync for EnvelopeWarning
impl Unpin for EnvelopeWarning
impl UnsafeUnpin for EnvelopeWarning
impl UnwindSafe for EnvelopeWarning
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