Struct greader_api::GReaderApi [−][src]
pub struct GReaderApi { /* fields omitted */ }Implementations
pub async fn login(
&mut self,
auth_input: AuthInput,
client: &Client
) -> Result<AuthData, 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_quickadd(
&self,
url: &Url,
client: &Client
) -> Result<QuickFeed, 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_contents(
&self,
item_ids: Vec<String>,
client: &Client
) -> Result<Stream, 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>
Trait Implementations
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
