pub struct UpdateActionDataOptions {
pub subject: Patch<String>,
pub reactions: Patch<String>,
pub comments: Patch<u32>,
pub comments_read: Patch<u32>,
pub status: Patch<char>,
pub visibility: Patch<char>,
pub x: Patch<Value>,
pub content: Patch<String>,
pub attachments: Patch<String>,
pub flags: Patch<String>,
pub sub_typ: Patch<String>,
pub created_at: Patch<Timestamp>,
}Expand description
Options for updating action metadata
Fields§
§subject: Patch<String>§reactions: Patch<String>§comments: Patch<u32>§comments_read: Patch<u32>§status: Patch<char>§visibility: Patch<char>§x: Patch<Value>§content: Patch<String>§attachments: Patch<String>§flags: Patch<String>§sub_typ: Patch<String>§created_at: Patch<Timestamp>Dual-purpose for actions in status R (draft) or S (scheduled): the
actions.created_at column holds the target publish instant, not the
row’s actual creation time. PATCH /actions, publish_draft, and
task::handle_create_action all rely on this overload. For any other
status, leave this Patch::Undefined — overwriting created_at on a
finalized (A) action would corrupt the timeline.
Trait Implementations§
Source§impl Clone for UpdateActionDataOptions
impl Clone for UpdateActionDataOptions
Source§fn clone(&self) -> UpdateActionDataOptions
fn clone(&self) -> UpdateActionDataOptions
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 UpdateActionDataOptions
impl Debug for UpdateActionDataOptions
Source§impl Default for UpdateActionDataOptions
impl Default for UpdateActionDataOptions
Source§fn default() -> UpdateActionDataOptions
fn default() -> UpdateActionDataOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateActionDataOptions
impl RefUnwindSafe for UpdateActionDataOptions
impl Send for UpdateActionDataOptions
impl Sync for UpdateActionDataOptions
impl Unpin for UpdateActionDataOptions
impl UnsafeUnpin for UpdateActionDataOptions
impl UnwindSafe for UpdateActionDataOptions
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