pub struct TestNotifierResponse {
pub success: bool,
pub message: String,
}Expand description
Response from POST /api/v1/notifiers/{id}/test.
Fields§
§success: boolWhether the test notification was sent successfully.
message: StringStatus message.
Trait Implementations§
Source§impl ComposeSchema for TestNotifierResponse
impl ComposeSchema for TestNotifierResponse
Source§impl Debug for TestNotifierResponse
impl Debug for TestNotifierResponse
Source§impl<'de> Deserialize<'de> for TestNotifierResponse
impl<'de> Deserialize<'de> for TestNotifierResponse
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
Source§impl Serialize for TestNotifierResponse
impl Serialize for TestNotifierResponse
Auto Trait Implementations§
impl Freeze for TestNotifierResponse
impl RefUnwindSafe for TestNotifierResponse
impl Send for TestNotifierResponse
impl Sync for TestNotifierResponse
impl Unpin for TestNotifierResponse
impl UnsafeUnpin for TestNotifierResponse
impl UnwindSafe for TestNotifierResponse
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