pub struct TaskPushNotificationConfig {
pub tenant: Option<String>,
pub config_id: Option<String>,
pub task_id: String,
pub url: String,
pub token: Option<String>,
pub authentication: Option<AuthenticationInfo>,
pub created_at: Option<String>,
}Expand description
Push notification configuration for a task.
Fields§
§tenant: Option<String>Optional tenant identifier.
config_id: Option<String>Configuration identifier.
task_id: StringAssociated task identifier.
url: StringURL where the notification should be sent.
token: Option<String>Session/task-specific token.
authentication: Option<AuthenticationInfo>Authentication information for sending the notification.
created_at: Option<String>ISO 8601 timestamp when this configuration was created.
Trait Implementations§
Source§impl Clone for TaskPushNotificationConfig
impl Clone for TaskPushNotificationConfig
Source§fn clone(&self) -> TaskPushNotificationConfig
fn clone(&self) -> TaskPushNotificationConfig
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 Debug for TaskPushNotificationConfig
impl Debug for TaskPushNotificationConfig
Source§impl<'de> Deserialize<'de> for TaskPushNotificationConfig
impl<'de> Deserialize<'de> for TaskPushNotificationConfig
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 TaskPushNotificationConfig
impl RefUnwindSafe for TaskPushNotificationConfig
impl Send for TaskPushNotificationConfig
impl Sync for TaskPushNotificationConfig
impl Unpin for TaskPushNotificationConfig
impl UnsafeUnpin for TaskPushNotificationConfig
impl UnwindSafe for TaskPushNotificationConfig
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