pub struct RspamdLearnReply {
pub success: bool,
pub error: Option<String>,
}Expand description
Reply for controller commands (learn spam/ham, fuzzy add/del)
Fields§
§success: bool§error: Option<String>Trait Implementations§
Source§impl Debug for RspamdLearnReply
impl Debug for RspamdLearnReply
Source§impl<'de> Deserialize<'de> for RspamdLearnReply
impl<'de> Deserialize<'de> for RspamdLearnReply
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 RspamdLearnReply
impl RefUnwindSafe for RspamdLearnReply
impl Send for RspamdLearnReply
impl Sync for RspamdLearnReply
impl Unpin for RspamdLearnReply
impl UnsafeUnpin for RspamdLearnReply
impl UnwindSafe for RspamdLearnReply
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