pub struct ViewRecordData {
pub author: ProfileViewBasic,
pub cid: Cid,
pub embeds: Option<Vec<Union<ViewRecordEmbedsItem>>>,
pub indexed_at: Datetime,
pub labels: Option<Vec<Label>>,
pub like_count: Option<i64>,
pub quote_count: Option<i64>,
pub reply_count: Option<i64>,
pub repost_count: Option<i64>,
pub uri: String,
pub value: Unknown,
}
Available on crate feature
namespace-appbsky
only.Fields§
§cid: Cid
§embeds: Option<Vec<Union<ViewRecordEmbedsItem>>>
§indexed_at: Datetime
§labels: Option<Vec<Label>>
§like_count: Option<i64>
§quote_count: Option<i64>
§reply_count: Option<i64>
§repost_count: Option<i64>
§uri: String
§value: Unknown
The record data itself.
Trait Implementations§
Source§impl Clone for ViewRecordData
impl Clone for ViewRecordData
Source§fn clone(&self) -> ViewRecordData
fn clone(&self) -> ViewRecordData
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 ViewRecordData
impl Debug for ViewRecordData
Source§impl<'de> Deserialize<'de> for ViewRecordData
impl<'de> Deserialize<'de> for ViewRecordData
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 ViewRecordData
impl PartialEq for ViewRecordData
Source§impl Serialize for ViewRecordData
impl Serialize for ViewRecordData
impl Eq for ViewRecordData
impl StructuralPartialEq for ViewRecordData
Auto Trait Implementations§
impl Freeze for ViewRecordData
impl RefUnwindSafe for ViewRecordData
impl Send for ViewRecordData
impl Sync for ViewRecordData
impl Unpin for ViewRecordData
impl UnwindSafe for ViewRecordData
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.