pub struct PushNotificationConfigParams {
pub taskId: String,
pub url: String,
pub token: Option<String>,
}Expand description
CreateTaskPushNotificationConfig params — A2A spec §9.4.7.
Fields§
§taskId: StringTask id.
url: StringWebhook URL.
token: Option<String>Optional bearer token.
Trait Implementations§
Source§impl Clone for PushNotificationConfigParams
impl Clone for PushNotificationConfigParams
Source§fn clone(&self) -> PushNotificationConfigParams
fn clone(&self) -> PushNotificationConfigParams
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 PushNotificationConfigParams
impl Debug for PushNotificationConfigParams
Source§impl<'de> Deserialize<'de> for PushNotificationConfigParams
impl<'de> Deserialize<'de> for PushNotificationConfigParams
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 PushNotificationConfigParams
impl RefUnwindSafe for PushNotificationConfigParams
impl Send for PushNotificationConfigParams
impl Sync for PushNotificationConfigParams
impl Unpin for PushNotificationConfigParams
impl UnsafeUnpin for PushNotificationConfigParams
impl UnwindSafe for PushNotificationConfigParams
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