[−][src]Struct fever_api::FeverApi
Implementations
impl FeverApi[src]
pub fn new(url: &Url, username: &str, password: &str) -> Self[src]
Create a new instance of the FeverApi
pub fn new_with_http_auth(
url: &Url,
username: &str,
password: &str,
http_user: &str,
http_pass: Option<&str>
) -> Self[src]
url: &Url,
username: &str,
password: &str,
http_user: &str,
http_pass: Option<&str>
) -> Self
pub async fn valid_credentials<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<bool, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<bool, ApiError>
pub async fn get_api_version<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<i64, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<i64, ApiError>
pub async fn get_groups<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Groups, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<Groups, ApiError>
pub async fn get_feeds<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Feeds, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<Feeds, ApiError>
pub async fn get_favicons<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<FavIcons, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<FavIcons, ApiError>
pub async fn get_items<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Items, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<Items, ApiError>
pub async fn get_items_since<'_, '_>(
&'_ self,
id: u64,
client: &'_ Client
) -> Result<Items, ApiError>[src]
&'_ self,
id: u64,
client: &'_ Client
) -> Result<Items, ApiError>
pub async fn get_items_max<'_, '_>(
&'_ self,
id: u64,
client: &'_ Client
) -> Result<Items, ApiError>[src]
&'_ self,
id: u64,
client: &'_ Client
) -> Result<Items, ApiError>
pub async fn get_items_with<'_, '_>(
&'_ self,
ids: Vec<u64>,
client: &'_ Client
) -> Result<Items, ApiError>[src]
&'_ self,
ids: Vec<u64>,
client: &'_ Client
) -> Result<Items, ApiError>
pub async fn get_links<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Links, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<Links, ApiError>
pub async fn get_links_with<'_, '_>(
&'_ self,
offset: usize,
days: usize,
page: usize,
client: &'_ Client
) -> Result<Links, ApiError>[src]
&'_ self,
offset: usize,
days: usize,
page: usize,
client: &'_ Client
) -> Result<Links, ApiError>
pub async fn get_unread_items<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<UnreadItems, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<UnreadItems, ApiError>
pub async fn get_saved_items<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<SavedItems, ApiError>[src]
&'_ self,
client: &'_ Client
) -> Result<SavedItems, ApiError>
pub async fn mark_item<'_, '_>(
&'_ self,
status: ItemStatus,
id: u64,
client: &'_ Client
) -> Result<(), ApiError>[src]
&'_ self,
status: ItemStatus,
id: u64,
client: &'_ Client
) -> Result<(), ApiError>
pub async fn mark_group<'_, '_>(
&'_ self,
status: ItemStatus,
id: isize,
before: i64,
client: &'_ Client
) -> Result<(), ApiError>[src]
&'_ self,
status: ItemStatus,
id: isize,
before: i64,
client: &'_ Client
) -> Result<(), ApiError>
pub async fn mark_feed<'_, '_>(
&'_ self,
status: ItemStatus,
id: isize,
before: i64,
client: &'_ Client
) -> Result<(), ApiError>[src]
&'_ self,
status: ItemStatus,
id: isize,
before: i64,
client: &'_ Client
) -> Result<(), ApiError>
Auto Trait Implementations
impl RefUnwindSafe for FeverApi
impl Send for FeverApi
impl Sync for FeverApi
impl Unpin for FeverApi
impl UnwindSafe for FeverApi
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>,