Struct feedbin_api::FeedbinApi [−][src]
pub struct FeedbinApi { /* fields omitted */ }
Implementations
pub async fn get_entries(
&self,
client: &Client,
page: Option<u32>,
since: Option<DateTime<Utc>>,
ids: Option<&[EntryID]>,
starred: Option<bool>,
enclosure: Option<bool>,
extended: bool
) -> Result<Vec<Entry>, ApiError>
pub async fn get_entries_for_feed(
&self,
client: &Client,
feed_id: FeedID,
cache: Option<Cache>
) -> Result<CacheRequestResponse<Vec<Entry>>, ApiError>
pub async fn set_entries_unread(
&self,
client: &Client,
entry_ids: &[EntryID]
) -> Result<(), ApiError>
pub async fn set_entries_read(
&self,
client: &Client,
entry_ids: &[EntryID]
) -> Result<(), ApiError>
pub async fn set_entries_starred(
&self,
client: &Client,
entry_ids: &[EntryID]
) -> Result<(), ApiError>
pub async fn set_entries_unstarred(
&self,
client: &Client,
entry_ids: &[EntryID]
) -> Result<(), ApiError>
pub async fn get_subscriptions(
&self,
client: &Client,
since: Option<DateTime<Utc>>,
mode: Option<SubscriptionMode>,
cache: Option<Cache>
) -> Result<CacheRequestResponse<Vec<Subscription>>, ApiError>
pub async fn get_subscription(
&self,
client: &Client,
subscription_id: SubscriptionID
) -> Result<Subscription, ApiError>
pub async fn create_subscription<S: Into<String>>(
&self,
client: &Client,
url: S
) -> Result<CreateSubscriptionResult, ApiError>
pub async fn delete_subscription(
&self,
client: &Client,
subscription_id: SubscriptionID
) -> Result<(), ApiError>
pub async fn update_subscription<S: Into<String>>(
&self,
client: &Client,
subscription_id: SubscriptionID,
title: S
) -> Result<(), ApiError>
pub async fn get_taggings(
&self,
client: &Client,
cache: Option<Cache>
) -> Result<CacheRequestResponse<Vec<Tagging>>, ApiError>
pub async fn get_tagging(
&self,
client: &Client,
tagging_id: TaggingID
) -> Result<Tagging, ApiError>
pub async fn create_tagging(
&self,
client: &Client,
feed_id: FeedID,
name: &str
) -> Result<(), ApiError>
Auto Trait Implementations
impl RefUnwindSafe for FeedbinApi
impl Send for FeedbinApi
impl Sync for FeedbinApi
impl Unpin for FeedbinApi
impl UnwindSafe for FeedbinApi
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more