pub struct CompatWarning {
pub code: String,
pub message: String,
pub path: Option<String>,
}Expand description
Non-blocking compatibility warning emitted by Rainy in envelope mode.
Fields§
§code: StringWarning code identifier.
message: StringHuman-readable warning message.
path: Option<String>JSON path to the field that triggered the warning.
Trait Implementations§
Source§impl Clone for CompatWarning
impl Clone for CompatWarning
Source§fn clone(&self) -> CompatWarning
fn clone(&self) -> CompatWarning
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 CompatWarning
impl Debug for CompatWarning
Source§impl<'de> Deserialize<'de> for CompatWarning
impl<'de> Deserialize<'de> for CompatWarning
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
Auto Trait Implementations§
impl Freeze for CompatWarning
impl RefUnwindSafe for CompatWarning
impl Send for CompatWarning
impl Sync for CompatWarning
impl Unpin for CompatWarning
impl UnsafeUnpin for CompatWarning
impl UnwindSafe for CompatWarning
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