pub struct MessageEntryPayload {
pub addressed: Option<MessageAddressed>,
pub status: Option<String>,
pub scheduled_delivery: Option<String>,
pub scheduled_delivery_at_date: Option<String>,
pub scheduled_delivery_at_hour: Option<String>,
}Fields§
§addressed: Option<MessageAddressed>§status: Option<String>“drafted” saves the entry as a draft instead of delivering it. Any other value (or omitting it) delivers through the undo-delay window.
scheduled_delivery: Option<String>“true” schedules delivery for the date and hour below; the entry stays drafted with a scheduled_delivery_at until then. On an update, omitting it clears an existing scheduled delivery.
scheduled_delivery_at_date: Option<String>The delivery date: YYYY-MM-DD, “today” or “tomorrow”, read in the identity’s time zone.
scheduled_delivery_at_hour: Option<String>The delivery hour, “0” through “23” — a string so that midnight survives omitempty. HEY schedules to the hour.
Trait Implementations§
Source§impl Clone for MessageEntryPayload
impl Clone for MessageEntryPayload
Source§fn clone(&self) -> MessageEntryPayload
fn clone(&self) -> MessageEntryPayload
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 MessageEntryPayload
impl Debug for MessageEntryPayload
Source§impl Default for MessageEntryPayload
impl Default for MessageEntryPayload
Source§fn default() -> MessageEntryPayload
fn default() -> MessageEntryPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageEntryPayload
impl<'de> Deserialize<'de> for MessageEntryPayload
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 MessageEntryPayload
impl PartialEq for MessageEntryPayload
Source§impl Serialize for MessageEntryPayload
impl Serialize for MessageEntryPayload
impl StructuralPartialEq for MessageEntryPayload
Auto Trait Implementations§
impl Freeze for MessageEntryPayload
impl RefUnwindSafe for MessageEntryPayload
impl Send for MessageEntryPayload
impl Sync for MessageEntryPayload
impl Unpin for MessageEntryPayload
impl UnsafeUnpin for MessageEntryPayload
impl UnwindSafe for MessageEntryPayload
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