[][src]Struct feedbin_api::FeedbinApi

pub struct FeedbinApi { /* fields omitted */ }

Implementations

impl FeedbinApi[src]

pub fn new<S: Into<String>>(base_url: Url, username: S, password: S) -> Self[src]

pub fn with_base_url(&self, base_url: Url) -> Self[src]

pub fn with_password<S: Into<String>>(&self, password: S) -> Self[src]

pub async fn is_authenticated<'_, '_>(
    &'_ self,
    client: &'_ Client
) -> Result<bool, ApiError>
[src]

pub async fn is_reachable<'_, '_>(
    &'_ self,
    client: &'_ Client
) -> Result<bool, ApiError>
[src]

pub async fn get_entries<'_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    page: Option<u32>,
    since: Option<DateTime<Utc>>,
    ids: Option<&'_ [EntryID]>,
    starred: Option<bool>,
    enclosure: Option<bool>
) -> Result<Vec<Entry>, ApiError>
[src]

pub async fn get_entries_for_feed<'_, '_>(
    &'_ self,
    client: &'_ Client,
    feed_id: FeedID,
    cache: Option<Cache>
) -> Result<CacheRequestResponse<Vec<Entry>>, ApiError>
[src]

pub async fn get_unread_entry_ids<'_, '_>(
    &'_ self,
    client: &'_ Client
) -> Result<Vec<EntryID>, ApiError>
[src]

pub async fn set_entries_unread<'_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
[src]

pub async fn set_entries_read<'_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
[src]

pub async fn get_starred_entry_ids<'_, '_>(
    &'_ self,
    client: &'_ Client
) -> Result<Vec<EntryID>, ApiError>
[src]

pub async fn set_entries_starred<'_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
[src]

pub async fn set_entries_unstarred<'_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
[src]

pub async fn get_entry<'_, '_>(
    &'_ self,
    client: &'_ Client,
    entry_id: EntryID
) -> Result<Entry, ApiError>
[src]

pub async fn get_subscriptions<'_, '_>(
    &'_ self,
    client: &'_ Client,
    since: Option<DateTime<Utc>>,
    mode: Option<SubscriptionMode>,
    cache: Option<Cache>
) -> Result<CacheRequestResponse<Vec<Subscription>>, ApiError>
[src]

pub async fn get_subscription<'_, '_>(
    &'_ self,
    client: &'_ Client,
    subscription_id: SubscriptionID
) -> Result<Subscription, ApiError>
[src]

pub async fn create_subscription<'_, '_, S: Into<String>>(
    &'_ self,
    client: &'_ Client,
    url: S
) -> Result<CreateSubscriptionResult, ApiError>
[src]

pub async fn delete_subscription<'_, '_>(
    &'_ self,
    client: &'_ Client,
    subscription_id: SubscriptionID
) -> Result<(), ApiError>
[src]

pub async fn update_subscription<'_, '_, S: Into<String>>(
    &'_ self,
    client: &'_ Client,
    subscription_id: SubscriptionID,
    title: S
) -> Result<(), ApiError>
[src]

pub async fn get_taggings<'_, '_>(
    &'_ self,
    client: &'_ Client,
    cache: Option<Cache>
) -> Result<CacheRequestResponse<Vec<Tagging>>, ApiError>
[src]

pub async fn get_tagging<'_, '_>(
    &'_ self,
    client: &'_ Client,
    tagging_id: TaggingID
) -> Result<Tagging, ApiError>
[src]

pub async fn create_tagging<'_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    feed_id: FeedID,
    name: &'_ str
) -> Result<(), ApiError>
[src]

pub async fn delete_tagging<'_, '_>(
    &'_ self,
    client: &'_ Client,
    tagging_id: TaggingID
) -> Result<(), ApiError>
[src]

pub async fn rename_tag<'_, '_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    old_name: &'_ str,
    new_name: &'_ str
) -> Result<(), ApiError>
[src]

pub async fn delete_tag<'_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    name: &'_ str
) -> Result<(), ApiError>
[src]

pub async fn get_icons<'_, '_>(
    &'_ self,
    client: &'_ Client
) -> Result<Vec<Icon>, ApiError>
[src]

pub async fn import_opml<'_, '_, '_>(
    &'_ self,
    client: &'_ Client,
    opml: &'_ str
) -> Result<(), ApiError>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.