pub struct Status {Show 25 fields
pub id: StatusId,
pub uri: String,
pub url: Option<String>,
pub account: Account,
pub in_reply_to_id: Option<String>,
pub in_reply_to_account_id: Option<String>,
pub reblog: Option<Box<Status>>,
pub content: String,
pub created_at: OffsetDateTime,
pub emojis: Vec<Emoji>,
pub replies_count: Option<u64>,
pub reblogs_count: u64,
pub favourites_count: u64,
pub reblogged: Option<bool>,
pub favourited: Option<bool>,
pub sensitive: bool,
pub spoiler_text: String,
pub visibility: Visibility,
pub media_attachments: Vec<Attachment>,
pub mentions: Vec<Mention>,
pub tags: Vec<Tag>,
pub card: Option<Card>,
pub application: Option<Application>,
pub language: Option<String>,
pub pinned: Option<bool>,
}Expand description
A status from the instance.
Fields§
§id: StatusIdThe ID of the status.
uri: StringA Fediverse-unique resource ID.
url: Option<String>URL to the status page (can be remote)
account: AccountThe Account which posted the status.
in_reply_to_id: Option<String>The ID of the status this status is replying to, if the status is a reply.
in_reply_to_account_id: Option<String>The ID of the account this status is replying to, if the status is a reply.
reblog: Option<Box<Status>>If this status is a reblogged Status of another User.
content: StringBody of the status; this will contain HTML (remote HTML already sanitized)
created_at: OffsetDateTimeThe time the status was created.
emojis: Vec<Emoji>An array of Emoji
replies_count: Option<u64>The numbef or replies to this status.
reblogs_count: u64The number of reblogs for the status.
favourites_count: u64The number of favourites for the status.
reblogged: Option<bool>Whether the application client has reblogged the status.
favourited: Option<bool>Whether the application client has favourited the status.
sensitive: boolWhether media attachments should be hidden by default.
spoiler_text: StringIf not empty, warning text that should be displayed before the actual content.
visibility: VisibilityThe visibilty of the status.
media_attachments: Vec<Attachment>An array of attachments.
mentions: Vec<Mention>An array of mentions.
An array of tags.
card: Option<Card>The associated card
application: Option<Application>Name of application used to post status.
language: Option<String>The detected language for the status, if detected.
pinned: Option<bool>Whether this is the pinned status for the account that posted it.