pub struct ActionView {Show 20 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 expires_at: Option<Timestamp>,
pub status: Option<Box<str>>,
pub stat: Option<Value>,
pub visibility: Option<char>,
pub flags: 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§expires_at: Option<Timestamp>§status: Option<Box<str>>§stat: Option<Value>§visibility: Option<char>§flags: Option<Box<str>>§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
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 ActionView
impl Debug for ActionView
Auto Trait Implementations§
impl Freeze for ActionView
impl RefUnwindSafe for ActionView
impl Send for ActionView
impl Sync for ActionView
impl Unpin for ActionView
impl UnsafeUnpin for ActionView
impl UnwindSafe for ActionView
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