pub struct Warning {
pub code: String,
pub message: String,
pub details: Option<String>,
}Expand description
Warning : Warning returned when the request is successful, but there are important callouts based on which API clients should take defined actions.
Fields§
§code: StringAn warning code that identifies the type of warning that occurred.
message: StringA message that describes the warning condition in a human-readable form.
details: Option<String>Additional details that can help the caller understand or address the warning.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Warning
impl<'de> Deserialize<'de> for Warning
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 StructuralPartialEq for Warning
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnwindSafe for Warning
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