[−][src]Struct greader_api::GReaderApi
Implementations
impl GReaderApi
[src]
pub fn new(url: &Url, username: &str, password: &str) -> Self
[src]
Create a new instance of the GReaderApi
pub async fn login<'_, '_>(
&'_ mut self,
client: &'_ Client
) -> Result<(), ApiError>
[src]
&'_ mut self,
client: &'_ Client
) -> Result<(), ApiError>
pub async fn token<'_, '_>(
&'_ mut self,
client: &'_ Client
) -> Result<(), ApiError>
[src]
&'_ mut self,
client: &'_ Client
) -> Result<(), ApiError>
pub async fn user_info<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<User, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<User, ApiError>
pub async fn unread_count<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Unread, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<Unread, ApiError>
pub async fn subscription_list<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Feeds, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<Feeds, ApiError>
pub async fn subscription_create<'_, '_, '_, '_, '_>(
&'_ self,
url: &'_ Url,
name: &'_ str,
to_stream: Option<&'_ str>,
client: &'_ Client
) -> Result<(), ApiError>
[src]
&'_ self,
url: &'_ Url,
name: &'_ str,
to_stream: Option<&'_ str>,
client: &'_ Client
) -> Result<(), ApiError>
pub async fn subscription_edit<'_, '_, '_, '_, '_, '_>(
&'_ self,
url: &'_ Url,
name: &'_ str,
from_stream: &'_ str,
to_stream: &'_ str,
client: &'_ Client
) -> Result<(), ApiError>
[src]
&'_ self,
url: &'_ Url,
name: &'_ str,
from_stream: &'_ str,
to_stream: &'_ str,
client: &'_ Client
) -> Result<(), ApiError>
pub async fn subscription_delete<'_, '_, '_>(
&'_ self,
url: &'_ Url,
client: &'_ Client
) -> Result<(), ApiError>
[src]
&'_ self,
url: &'_ Url,
client: &'_ Client
) -> Result<(), ApiError>
pub async fn subscription_quickadd<'_, '_, '_>(
&'_ self,
url: &'_ Url,
client: &'_ Client
) -> Result<QuickFeed, ApiError>
[src]
&'_ self,
url: &'_ Url,
client: &'_ Client
) -> Result<QuickFeed, ApiError>
pub async fn import<'_, '_>(
&'_ self,
opml: String,
client: &'_ Client
) -> Result<u64, ApiError>
[src]
&'_ self,
opml: String,
client: &'_ Client
) -> Result<u64, ApiError>
pub async fn export<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<String, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<String, ApiError>
pub async fn stream_contents<'_, '_, '_, '_, '_, '_>(
&'_ self,
stream_id: &'_ 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>
[src]
&'_ self,
stream_id: &'_ 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: &'_ str,
amount: 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>
[src]
&'_ self,
stream_id: &'_ str,
amount: 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_contents<'_, '_>(
&'_ self,
item_ids: Vec<String>,
client: &'_ Client
) -> Result<Stream, ApiError>
[src]
&'_ self,
item_ids: Vec<String>,
client: &'_ Client
) -> Result<Stream, ApiError>
pub async fn tag_list<'_, '_>(
&'_ self,
client: &'_ Client
) -> Result<Taggings, ApiError>
[src]
&'_ self,
client: &'_ Client
) -> Result<Taggings, ApiError>
pub async fn tag_delete<'_, '_, '_>(
&'_ self,
stream_type: StreamType,
id: &'_ str,
client: &'_ Client
) -> Result<(), ApiError>
[src]
&'_ 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>
[src]
&'_ self,
stream_type: StreamType,
old_name: &'_ str,
new_name: &'_ str,
client: &'_ Client
) -> Result<(), ApiError>
pub async fn tag_edit<'_, '_, '_, '_, '_>(
&'_ self,
articles: Vec<(&'_ str, Option<&'_ str>, Option<&'_ str>)>,
client: &'_ Client
) -> Result<(), ApiError>
[src]
&'_ self,
articles: Vec<(&'_ str, Option<&'_ str>, 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>
[src]
&'_ self,
stream_id: &'_ str,
older_than: Option<u64>,
client: &'_ Client
) -> Result<(), ApiError>
Auto Trait Implementations
impl RefUnwindSafe for GReaderApi
impl Send for GReaderApi
impl Sync for GReaderApi
impl Unpin for GReaderApi
impl UnwindSafe for GReaderApi
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,