From 4df2d2089563fc65227d39311f5e966dc903ba87 Mon Sep 17 00:00:00 2001 From: lucasmerlin Date: Thu, 25 Apr 2024 13:16:39 +0200 Subject: [PATCH] Update Message doc comments --- src/message/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/message/mod.rs b/src/message/mod.rs index 6ca73dc91..e368f5825 100644 --- a/src/message/mod.rs +++ b/src/message/mod.rs @@ -71,19 +71,19 @@ pub(crate) struct MessageInternal { /// https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages?authuser=0#resource:-message #[derive(Debug)] pub struct Message { - /// Arbitrary key/value payload, which must be UTF-8 encoded. + /// Arbitrary key/value payload, which must be UTF-8 encoded. Values must be strings. pub data: Option, /// Basic notification template to use across all platforms. pub notification: Option, - /// Android specific options for messages sent through FCM connection server. + /// Target to send a message to. pub target: Target, - /// Webpush protocol options. + /// Android specific options for messages sent through FCM connection server. pub android: Option, - /// Apple Push Notification Service specific options. + /// Webpush protocol options. pub webpush: Option, - /// Template for FCM SDK feature options to use across all platforms. + /// Apple Push Notification Service specific options. pub apns: Option, - /// Target to send a message to. + /// Template for FCM SDK feature options to use across all platforms. pub fcm_options: Option, }