pub struct ActionData {
pub subject: Option<Box<str>>,
pub reactions: Option<u32>,
pub comments: Option<u32>,
}Expand description
Additional action data (cached counts/stats)
Fields§
§subject: Option<Box<str>>§reactions: Option<u32>§comments: Option<u32>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 · 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