pub struct Record {
pub created_at: Datetime,
pub embed: Option<RecordEmbedEnum>,
pub entities: Option<Vec<Entity>>,
pub facets: Option<Vec<Main>>,
pub labels: Option<RecordLabelsEnum>,
pub langs: Option<Vec<Language>>,
pub reply: Option<ReplyRef>,
pub tags: Option<Vec<String>>,
pub text: String,
}Fields§
§created_at: DatetimeClient-declared timestamp when this post was originally created.
embed: Option<RecordEmbedEnum>§entities: Option<Vec<Entity>>DEPRECATED: replaced by app.bsky.richtext.facet.
facets: Option<Vec<Main>>Annotations of text (mentions, URLs, hashtags, etc)
labels: Option<RecordLabelsEnum>Self-label values for this post. Effectively content warnings.
langs: Option<Vec<Language>>Indicates human language of post primary text content.
reply: Option<ReplyRef>Additional hashtags, in addition to any included in post text and facets.
text: StringThe primary post content. May be an empty string, if there are embeds.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Record
impl<'de> Deserialize<'de> for Record
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Record
impl PartialEq for Record
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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