pub struct ActionView {Show 22 fields
pub action_id: Box<str>,
pub typ: Box<str>,
pub sub_typ: Option<Box<str>>,
pub parent_id: Option<Box<str>>,
pub root_id: Option<Box<str>>,
pub issuer: ProfileInfo,
pub audience: Option<ProfileInfo>,
pub content: Option<Value>,
pub attachments: Option<Vec<AttachmentView>>,
pub subject: Option<Box<str>>,
pub subject_profile: Option<ProfileInfo>,
pub subject_action: Option<Box<ActionView>>,
pub created_at: Timestamp,
pub received_at: Option<Timestamp>,
pub expires_at: Option<Timestamp>,
pub status: Option<Box<str>>,
pub stat: Option<Value>,
pub visibility: Option<char>,
pub flags: Option<Box<str>>,
pub sub_level: Option<Box<str>>,
pub x: Option<Value>,
pub token: Option<Box<str>>,
}Fields§
§action_id: Box<str>§typ: Box<str>§sub_typ: Option<Box<str>>§parent_id: Option<Box<str>>§root_id: Option<Box<str>>§issuer: ProfileInfo§audience: Option<ProfileInfo>§content: Option<Value>§attachments: Option<Vec<AttachmentView>>§subject: Option<Box<str>>§subject_profile: Option<ProfileInfo>§subject_action: Option<Box<ActionView>>Hydrated original action referenced by subject (e.g. the post a REPOST
shares). Populated by the listing path for REPOST rows so the client can
render the embedded original card without a second fetch. Boxed to keep
the recursive type sized.
created_at: Timestamp§received_at: Option<Timestamp>LOCAL ingestion time (when this action was inserted on this node), emitted
as receivedAt. Drives the home feed’s arrival-order sort and its unread
watermark so late-federated posts (old created_at, recent arrival)
surface correctly. Optional: NULL on relationship/system rows inserted via
paths that don’t stamp it. See meta-adapter-sqlite migration 36.
expires_at: Option<Timestamp>§status: Option<Box<str>>§stat: Option<Value>§visibility: Option<char>§flags: Option<Box<str>>§sub_level: Option<Box<str>>Reader’s W/T/M thread subscription level on this (cached) action row.
x: Option<Value>§token: Option<Box<str>>Raw signed JWS for this action, populated only when the list query sets
includeTokens=true. Lets clients verify action signatures locally.
Trait Implementations§
Source§impl Clone for ActionView
impl Clone for ActionView
Source§fn clone(&self) -> ActionView
fn clone(&self) -> ActionView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more