[][src]Struct fever_api::FeverApi

pub struct FeverApi { /* fields omitted */ }

Methods

impl FeverApi[src]

pub fn new(url: &Url, username: String, password: String) -> Self[src]

Create a new instance of the TTrssApi

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

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

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

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

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

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

pub async fn get_items_since<'_, '_>(
    &'_ self,
    id: u64,
    client: &'_ Client
) -> Result<Items, ApiError>
[src]

pub async fn get_items_max<'_, '_>(
    &'_ self,
    id: u64,
    client: &'_ Client
) -> Result<Items, ApiError>
[src]

pub async fn get_items_with<'_, '_>(
    &'_ self,
    ids: Vec<u64>,
    client: &'_ Client
) -> Result<Items, ApiError>
[src]

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

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

pub async fn mark_item<'_, '_>(
    &'_ self,
    status: ItemStatus,
    id: u64,
    client: &'_ Client
) -> Result<(), ApiError>
[src]

pub async fn mark_group<'_, '_>(
    &'_ self,
    status: ItemStatus,
    id: isize,
    before: String,
    client: &'_ Client
) -> Result<(), ApiError>
[src]

pub async fn mark_feed<'_, '_>(
    &'_ self,
    status: ItemStatus,
    id: isize,
    before: String,
    client: &'_ Client
) -> 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.