[][src]Struct greader_api::GReaderApi

pub struct GReaderApi { /* fields omitted */ }

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]

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

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

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

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

pub async fn subscription_create<'_, '_, '_, '_, '_>(
    &'_ self,
    url: &'_ Url,
    name: &'_ str,
    to_stream: Option<&'_ str>,
    client: &'_ Client
) -> Result<(), ApiError>
[src]

pub async fn subscription_edit<'_, '_, '_, '_, '_, '_>(
    &'_ self,
    url: &'_ Url,
    name: &'_ str,
    from_stream: &'_ str,
    to_stream: &'_ str,
    client: &'_ Client
) -> Result<(), ApiError>
[src]

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

pub async fn subscription_quickadd<'_, '_, '_>(
    &'_ self,
    url: &'_ Url,
    client: &'_ Client
) -> Result<QuickFeed, ApiError>
[src]

pub async fn import<'_, '_>(
    &'_ self,
    opml: String,
    client: &'_ Client
) -> Result<u64, ApiError>
[src]

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

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]

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]

pub async fn items_contents<'_, '_>(
    &'_ self,
    item_ids: Vec<String>,
    client: &'_ Client
) -> Result<Stream, ApiError>
[src]

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

pub async fn tag_delete<'_, '_, '_>(
    &'_ self,
    stream_type: StreamType,
    id: &'_ str,
    client: &'_ Client
) -> Result<(), ApiError>
[src]

pub async fn tag_rename<'_, '_, '_, '_>(
    &'_ self,
    stream_type: StreamType,
    old_name: &'_ str,
    new_name: &'_ str,
    client: &'_ Client
) -> Result<(), ApiError>
[src]

pub async fn tag_edit<'_, '_, '_, '_, '_>(
    &'_ self,
    articles: Vec<(&'_ str, Option<&'_ str>, Option<&'_ str>)>,
    client: &'_ Client
) -> Result<(), ApiError>
[src]

pub async fn mark_all_as_read<'_, '_, '_>(
    &'_ self,
    stream_id: &'_ str,
    older_than: Option<u64>,
    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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,