pub struct TaskPushNotificationConfig {
pub url: String,
pub id: Option<String>,
pub task_id: TaskId,
pub token: Option<String>,
pub authentication: Option<AuthenticationInfo>,
pub tenant: Option<String>,
}Expand description
Push notification configuration for a task.
Fields§
§url: StringCallback URL for push notifications.
id: Option<String>Optional unique ID for this configuration.
task_id: TaskIdThe task this configuration is associated with.
token: Option<String>Optional session/task token for validation.
authentication: Option<AuthenticationInfo>Optional authentication details for the webhook.
tenant: Option<String>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 (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 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
Source§impl PartialEq for TaskPushNotificationConfig
impl PartialEq for TaskPushNotificationConfig
Source§fn eq(&self, other: &TaskPushNotificationConfig) -> bool
fn eq(&self, other: &TaskPushNotificationConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TaskPushNotificationConfig
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