pub struct RecordData {
pub created_at: Datetime,
pub embed: Option<Union<RecordEmbedRefs>>,
pub entities: Option<Vec<Entity>>,
pub facets: Option<Vec<Main>>,
pub labels: Option<Union<RecordLabelsRefs>>,
pub langs: Option<Vec<Language>>,
pub reply: Option<ReplyRef>,
pub tags: Option<Vec<String>>,
pub text: String,
}
Available on crate feature
namespace-appbsky
only.Fields§
§created_at: Datetime
Client-declared timestamp when this post was originally created.
embed: Option<Union<RecordEmbedRefs>>
§entities: Option<Vec<Entity>>
DEPRECATED: replaced by app.bsky.richtext.facet.
facets: Option<Vec<Main>>
Annotations of text (mentions, URLs, hashtags, etc)
labels: Option<Union<RecordLabelsRefs>>
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: String
The primary post content. May be an empty string, if there are embeds.
Trait Implementations§
Source§impl Clone for RecordData
impl Clone for RecordData
Source§fn clone(&self) -> RecordData
fn clone(&self) -> RecordData
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 moreSource§impl Debug for RecordData
impl Debug for RecordData
Source§impl<'de> Deserialize<'de> for RecordData
impl<'de> Deserialize<'de> for RecordData
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 From<RecordData> for KnownRecord
impl From<RecordData> for KnownRecord
Source§fn from(record_data: RecordData) -> Self
fn from(record_data: RecordData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RecordData
impl PartialEq for RecordData
Source§impl Serialize for RecordData
impl Serialize for RecordData
impl Eq for RecordData
impl StructuralPartialEq for RecordData
Auto Trait Implementations§
impl Freeze for RecordData
impl RefUnwindSafe for RecordData
impl Send for RecordData
impl Sync for RecordData
impl Unpin for RecordData
impl UnwindSafe for RecordData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.