pub struct ActionData {
pub subject: Option<Box<str>>,
pub reactions: Option<Box<str>>,
pub comments: Option<u32>,
pub stat_at: Option<Timestamp>,
}Expand description
Additional action data (cached counts/stats)
Fields§
§subject: Option<Box<str>>§reactions: Option<Box<str>>§comments: Option<u32>§stat_at: Option<Timestamp>Highest created_at of any STAT mirror update applied to this row
on the non-authoritative side. Used to reject reordered inbound
STATs. Always None on the authoritative node (REACT/CMNT write
the counters there; STAT on_receive never touches the row — see
the counter-update exclusivity invariant in
cloudillo_action::native_hooks::ownership).
Trait Implementations§
Source§impl Clone for ActionData
impl Clone for ActionData
Source§fn clone(&self) -> ActionData
fn clone(&self) -> ActionData
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 moreAuto Trait Implementations§
impl Freeze for ActionData
impl RefUnwindSafe for ActionData
impl Send for ActionData
impl Sync for ActionData
impl Unpin for ActionData
impl UnsafeUnpin for ActionData
impl UnwindSafe for ActionData
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