pub struct RecentRelation {
pub id: String,
pub from_entity_id: String,
pub relation_type: String,
pub to_entity_id: String,
pub from_entity_name: String,
pub to_entity_name: String,
pub created_at_ms: i64,
}Expand description
A relation with both entity names resolved, for the home page connections feed.
Fields§
§id: String§from_entity_id: String§relation_type: String§to_entity_id: String§from_entity_name: String§to_entity_name: String§created_at_ms: i64Unix seconds (same unit as the created_at column in the relations table).
Trait Implementations§
Source§impl Clone for RecentRelation
impl Clone for RecentRelation
Source§fn clone(&self) -> RecentRelation
fn clone(&self) -> RecentRelation
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 RecentRelation
impl Debug for RecentRelation
Source§impl<'de> Deserialize<'de> for RecentRelation
impl<'de> Deserialize<'de> for RecentRelation
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
Auto Trait Implementations§
impl Freeze for RecentRelation
impl RefUnwindSafe for RecentRelation
impl Send for RecentRelation
impl Sync for RecentRelation
impl Unpin for RecentRelation
impl UnsafeUnpin for RecentRelation
impl UnwindSafe for RecentRelation
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