pub struct CreateTaskPushNotificationConfigRequest {
pub task_id: String,
pub config_id: String,
pub push_notification_config: PushNotificationConfig,
pub tenant: Option<String>,
}Expand description
Parameters for tasks/pushNotificationConfig/create
Fields§
§task_id: StringTask ID
config_id: StringConfiguration identifier
push_notification_config: PushNotificationConfigConfiguration details
tenant: Option<String>Optional tenant
Trait Implementations§
Source§impl Clone for CreateTaskPushNotificationConfigRequest
impl Clone for CreateTaskPushNotificationConfigRequest
Source§fn clone(&self) -> CreateTaskPushNotificationConfigRequest
fn clone(&self) -> CreateTaskPushNotificationConfigRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CreateTaskPushNotificationConfigRequest
impl<'de> Deserialize<'de> for CreateTaskPushNotificationConfigRequest
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 PartialEq for CreateTaskPushNotificationConfigRequest
impl PartialEq for CreateTaskPushNotificationConfigRequest
Source§fn eq(&self, other: &CreateTaskPushNotificationConfigRequest) -> bool
fn eq(&self, other: &CreateTaskPushNotificationConfigRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateTaskPushNotificationConfigRequest
Auto Trait Implementations§
impl Freeze for CreateTaskPushNotificationConfigRequest
impl RefUnwindSafe for CreateTaskPushNotificationConfigRequest
impl Send for CreateTaskPushNotificationConfigRequest
impl Sync for CreateTaskPushNotificationConfigRequest
impl Unpin for CreateTaskPushNotificationConfigRequest
impl UnwindSafe for CreateTaskPushNotificationConfigRequest
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