Struct atrium_api::app::bsky::feed::post::RecordData
source · 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: DatetimeClient-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: StringThe 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 copy 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.