pub struct ConfigWarning {
pub message_id: Option<i32>,
pub title: Option<String>,
pub message: Option<String>,
}Expand description
A warning raised by the gateway while validating an
update_config edit.
Fields§
§message_id: Option<i32>Identifier of the message prompt this warning corresponds to.
title: Option<String>Warning title.
message: Option<String>Warning body.
Trait Implementations§
Source§impl Clone for ConfigWarning
impl Clone for ConfigWarning
Source§impl ComposeSchema for ConfigWarning
impl ComposeSchema for ConfigWarning
Source§impl Debug for ConfigWarning
impl Debug for ConfigWarning
Source§impl Default for ConfigWarning
impl Default for ConfigWarning
Source§impl<'de> Deserialize<'de> for ConfigWarning
impl<'de> Deserialize<'de> for ConfigWarning
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 ConfigWarning
Source§impl PartialEq for ConfigWarning
impl PartialEq for ConfigWarning
Source§impl Serialize for ConfigWarning
impl Serialize for ConfigWarning
impl StructuralPartialEq for ConfigWarning
Auto Trait Implementations§
impl Freeze for ConfigWarning
impl RefUnwindSafe for ConfigWarning
impl Send for ConfigWarning
impl Sync for ConfigWarning
impl Unpin for ConfigWarning
impl UnsafeUnpin for ConfigWarning
impl UnwindSafe for ConfigWarning
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.