Trait lemmy_db_queries::ApubObject[][src]

pub trait ApubObject {
    fn last_refreshed_at(&self) -> Option<NaiveDateTime>;
fn read_from_apub_id(
        conn: &PgConnection,
        object_id: &DbUrl
    ) -> Result<Self, Error>
    where
        Self: Sized
; }

Required methods

If this object should be refetched after a certain interval, it should return the last refresh time here. This is mainly used to update remote actors.

Implementations on Foreign Types

impl ApubObject for Post

Implementors