pub trait Algorithm: Sync + Send {
// Required methods
fn get_name(&self) -> String;
fn get_publisher(&self) -> String;
fn handler(
&self,
limit: Option<usize>,
cursor: Option<String>,
access_did: Option<String>,
jwt: Option<String>,
) -> AppBskyFeedGetfeedskeleton;
// Provided method
fn to_feed(&self) -> AppBskyFeedDescribefeedgeneratorFeed { ... }
}
Expand description
Custom Feed