pub struct UpsertNotificationTargetRequest {
pub id: Option<String>,
pub label: Option<String>,
pub enabled: Option<bool>,
pub config: Value,
}Expand description
UpsertNotificationTargetRequest model.
Fields§
§id: Option<String>Rewrites this target when it exists.
label: Option<String>Defaults to something channel-specific when omitted.
enabled: Option<bool>Defaults to true; only an explicit false disables.
config: ValueTrait Implementations§
Source§impl Clone for UpsertNotificationTargetRequest
impl Clone for UpsertNotificationTargetRequest
Source§fn clone(&self) -> UpsertNotificationTargetRequest
fn clone(&self) -> UpsertNotificationTargetRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for UpsertNotificationTargetRequest
impl Default for UpsertNotificationTargetRequest
Source§fn default() -> UpsertNotificationTargetRequest
fn default() -> UpsertNotificationTargetRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpsertNotificationTargetRequest
impl<'de> Deserialize<'de> for UpsertNotificationTargetRequest
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 UpsertNotificationTargetRequest
Auto Trait Implementations§
impl Freeze for UpsertNotificationTargetRequest
impl RefUnwindSafe for UpsertNotificationTargetRequest
impl Send for UpsertNotificationTargetRequest
impl Sync for UpsertNotificationTargetRequest
impl Unpin for UpsertNotificationTargetRequest
impl UnsafeUnpin for UpsertNotificationTargetRequest
impl UnwindSafe for UpsertNotificationTargetRequest
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