pub struct UpdateNotifierRequest {
pub name: Option<String>,
pub enabled: Option<bool>,
pub config: Option<NotifierConfig>,
}Expand description
Body for PATCH /api/v1/notifiers/{id}.
Fields§
§name: Option<String>Updated name.
enabled: Option<bool>Updated enabled flag.
config: Option<NotifierConfig>Updated configuration.
Trait Implementations§
Source§impl ComposeSchema for UpdateNotifierRequest
impl ComposeSchema for UpdateNotifierRequest
Source§impl Debug for UpdateNotifierRequest
impl Debug for UpdateNotifierRequest
Source§impl<'de> Deserialize<'de> for UpdateNotifierRequest
impl<'de> Deserialize<'de> for UpdateNotifierRequest
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 UpdateNotifierRequest
impl Serialize for UpdateNotifierRequest
Auto Trait Implementations§
impl Freeze for UpdateNotifierRequest
impl RefUnwindSafe for UpdateNotifierRequest
impl Send for UpdateNotifierRequest
impl Sync for UpdateNotifierRequest
impl Unpin for UpdateNotifierRequest
impl UnsafeUnpin for UpdateNotifierRequest
impl UnwindSafe for UpdateNotifierRequest
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