[−][src]Struct feedbin_api::FeedbinApi
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]
&'_ self,
client: &'_ Client
) -> Result<bool, ApiError>
pub async fn is_reachable<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<bool, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<bool, ApiError>
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]
&'_ self,
client: &'_ Client,
page: Option<u32>,
since: Option<DateTime<Utc>>,
ids: Option<&'_ [EntryID]>,
starred: Option<bool>,
enclosure: Option<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>
[src]
&'_ self,
client: &'_ Client,
feed_id: FeedID,
cache: Option<Cache>
) -> Result<CacheRequestResponse<Vec<Entry>>, ApiError>
pub async fn get_unread_entry_ids<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Vec<EntryID>, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<Vec<EntryID>, ApiError>
pub async fn set_entries_unread<'_, '_, '_>(
&'_ self,
client: &'_ Client,
entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
pub async fn set_entries_read<'_, '_, '_>(
&'_ self,
client: &'_ Client,
entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
pub async fn get_starred_entry_ids<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Vec<EntryID>, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<Vec<EntryID>, ApiError>
pub async fn set_entries_starred<'_, '_, '_>(
&'_ self,
client: &'_ Client,
entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
pub async fn set_entries_unstarred<'_, '_, '_>(
&'_ self,
client: &'_ Client,
entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
entry_ids: &'_ [EntryID]
) -> Result<(), ApiError>
pub async fn get_entry<'_, '_>(
&'_ self,
client: &'_ Client,
entry_id: EntryID
) -> Result<Entry, ApiError>
[src]
&'_ self,
client: &'_ Client,
entry_id: EntryID
) -> Result<Entry, ApiError>
pub async fn get_subscriptions<'_, '_>(
&'_ self,
client: &'_ Client,
since: Option<DateTime<Utc>>,
mode: Option<SubscriptionMode>,
cache: Option<Cache>
) -> Result<CacheRequestResponse<Vec<Subscription>>, ApiError>
[src]
&'_ 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>
[src]
&'_ 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>
[src]
&'_ self,
client: &'_ Client,
url: S
) -> Result<CreateSubscriptionResult, ApiError>
pub async fn delete_subscription<'_, '_>(
&'_ self,
client: &'_ Client,
subscription_id: SubscriptionID
) -> Result<(), ApiError>
[src]
&'_ 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>
[src]
&'_ 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>
[src]
&'_ 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>
[src]
&'_ self,
client: &'_ Client,
tagging_id: TaggingID
) -> Result<Tagging, ApiError>
pub async fn create_tagging<'_, '_, '_>(
&'_ self,
client: &'_ Client,
feed_id: FeedID,
name: &'_ str
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
feed_id: FeedID,
name: &'_ str
) -> Result<(), ApiError>
pub async fn delete_tagging<'_, '_>(
&'_ self,
client: &'_ Client,
tagging_id: TaggingID
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
tagging_id: TaggingID
) -> Result<(), ApiError>
pub async fn rename_tag<'_, '_, '_, '_>(
&'_ self,
client: &'_ Client,
old_name: &'_ str,
new_name: &'_ str
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
old_name: &'_ str,
new_name: &'_ str
) -> Result<(), ApiError>
pub async fn delete_tag<'_, '_, '_>(
&'_ self,
client: &'_ Client,
name: &'_ str
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
name: &'_ str
) -> Result<(), ApiError>
pub async fn get_icons<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Vec<Icon>, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<Vec<Icon>, ApiError>
pub async fn import_opml<'_, '_, '_>(
&'_ self,
client: &'_ Client,
opml: &'_ str
) -> Result<(), ApiError>
[src]
&'_ self,
client: &'_ Client,
opml: &'_ 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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,