Struct atrium_api::app::bsky::embed::record::ViewRecord
source · pub struct ViewRecord {
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 reply_count: Option<i64>,
pub repost_count: Option<i64>,
pub uri: String,
pub value: Record,
}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>§reply_count: Option<i64>§repost_count: Option<i64>§uri: String§value: RecordThe record data itself.
Trait Implementations§
source§impl Clone for ViewRecord
impl Clone for ViewRecord
source§fn clone(&self) -> ViewRecord
fn clone(&self) -> ViewRecord
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 ViewRecord
impl Debug for ViewRecord
source§impl<'de> Deserialize<'de> for ViewRecord
impl<'de> Deserialize<'de> for ViewRecord
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 ViewRecord
impl PartialEq for ViewRecord
source§fn eq(&self, other: &ViewRecord) -> bool
fn eq(&self, other: &ViewRecord) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ViewRecord
impl Serialize for ViewRecord
impl Eq for ViewRecord
impl StructuralPartialEq for ViewRecord
Auto Trait Implementations§
impl Freeze for ViewRecord
impl RefUnwindSafe for ViewRecord
impl Send for ViewRecord
impl Sync for ViewRecord
impl Unpin for ViewRecord
impl UnwindSafe for ViewRecord
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<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.