Struct greader_api::GReaderApi
source · pub struct GReaderApi { /* private fields */ }Implementations§
source§impl GReaderApi
impl GReaderApi
pub async fn get_auth_data(&self) -> Result<AuthData, ApiError>
pub async fn set_aut_data(&self, auth: AuthData) -> Result<(), ApiError>
pub async fn login( &self, auth_input: &AuthInput, client: &Client ) -> Result<AuthData, ApiError>
pub async fn user_info(&self, client: &Client) -> Result<User, ApiError>
pub async fn unread_count(&self, client: &Client) -> Result<Unread, ApiError>
pub async fn subscription_list(&self, client: &Client) -> Result<Feeds, ApiError>
pub async fn subscription_create( &self, url: &Url, name: Option<&str>, to_stream: Option<&str>, client: &Client ) -> Result<(), ApiError>
pub async fn subscription_edit( &self, item_id: &str, name: Option<&str>, from_stream: Option<&str>, to_stream: Option<&str>, client: &Client ) -> Result<(), ApiError>
pub async fn subscription_delete( &self, stream_id: &str, client: &Client ) -> Result<(), ApiError>
pub async fn subscription_quickadd( &self, url: &Url, client: &Client ) -> Result<QuickFeed, ApiError>
pub async fn import(&self, opml: String, client: &Client) -> Result<u64, ApiError>
pub async fn export(&self, client: &Client) -> Result<String, ApiError>
pub async fn subscribed( &self, stream_id: &str, client: &Client ) -> Result<bool, ApiError>
pub async fn stream_contents( &self, stream_id: Option<&str>, reverse_order: bool, amount: Option<u64>, continuation: Option<&str>, exclude_stream: Option<&str>, include_stream: Option<&str>, filter_older: Option<i64>, filter_newer: Option<i64>, client: &Client ) -> Result<Stream, ApiError>
pub async fn items_ids( &self, stream_id: Option<&str>, amount: Option<u64>, include_all_direct_stream_ids: bool, continuation: Option<&str>, exclude_stream: Option<&str>, include_stream: Option<&str>, filter_older: Option<i64>, filter_newer: Option<i64>, client: &Client ) -> Result<ItemRefs, ApiError>
pub async fn items_count( &self, stream_id: &str, get_latest_date: bool, client: &Client ) -> Result<String, ApiError>
pub async fn items_contents( &self, item_ids: Vec<String>, client: &Client ) -> Result<Stream, ApiError>
pub async fn tag_list(&self, client: &Client) -> Result<Taggings, ApiError>
pub async fn tag_delete( &self, stream_type: StreamType, id: &str, client: &Client ) -> Result<(), ApiError>
pub async fn tag_rename( &self, stream_type: StreamType, old_name: &str, new_name: &str, client: &Client ) -> Result<(), ApiError>
pub async fn tag_edit( &self, item_ids: &[&str], tag_add: Option<&str>, tag_remove: Option<&str>, client: &Client ) -> Result<(), ApiError>
pub async fn mark_all_as_read( &self, stream_id: &str, older_than: Option<u64>, client: &Client ) -> Result<(), ApiError>
pub async fn preference_list(&self, client: &Client) -> Result<(), ApiError>
pub async fn preference_stream_list( &self, client: &Client ) -> Result<StreamPrefs, ApiError>
pub async fn friends_list(&self, client: &Client) -> Result<(), ApiError>
pub async fn friends_edit(&self, client: &Client) -> Result<(), ApiError>
pub async fn inoreader_refresh_token( &self, client: &Client ) -> Result<InoreaderAuth, ApiError>
pub async fn create_active_search(&self, client: &Client) -> Result<(), ApiError>
pub async fn delete_active_search(&self, client: &Client) -> Result<(), ApiError>
pub async fn add_comment(&self, client: &Client) -> Result<(), ApiError>
Trait Implementations§
source§impl Clone for GReaderApi
impl Clone for GReaderApi
source§fn clone(&self) -> GReaderApi
fn clone(&self) -> GReaderApi
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more