[][src]Struct pixieve_rs::pixiv::request_builder::PixivRequestBuilder

pub struct PixivRequestBuilder;

PixivClient request builder. You can create this using any of the provided methods in PixivClient, or through PixivRequestBuilder::new.

Implementations

impl PixivRequestBuilder[src]

TODO: This should become a factory in the future...

pub fn request_bad_words() -> PixivRequest[src]

Used to build a request to retrive bad_words.json.

Request Transforms

None

pub fn work(illust_id: usize) -> PixivRequest[src]

pub fn user(user_id: usize) -> PixivRequest[src]

pub fn feed() -> PixivRequest[src]

pub fn favorite_works() -> PixivRequest[src]

pub fn favorite_work_add(work_id: usize) -> PixivRequest[src]

pub fn favorite_works_remove<B, I>(work_ids: I) -> PixivRequest where
    B: Borrow<usize>,
    I: IntoIterator<Item = B>, 
[src]

pub fn following_works(
    image_sizes: &[&str],
    include_sanity_level: bool
) -> PixivRequest
[src]

pub fn following() -> PixivRequest[src]

pub fn following_add(user_id: usize) -> PixivRequest[src]

pub fn following_remove<B, I>(user_ids: I) -> PixivRequest where
    B: Borrow<usize>,
    I: IntoIterator<Item = B>, 
[src]

pub fn user_works(user_id: usize) -> PixivRequest[src]

pub fn user_favorite_works(user_id: usize) -> PixivRequest[src]

pub fn user_feed(user_id: usize) -> PixivRequest[src]

pub fn user_following(user_id: usize) -> PixivRequest[src]

pub fn ranking(ranking_type: RankingType) -> PixivRequest[src]

pub fn search_works<T>(query: T) -> PixivRequest where
    T: Into<String>, 
[src]

pub fn latest_works() -> PixivRequest[src]

pub fn request_illustration(illust_id: usize) -> PixivRequest[src]

Used to build a request to fetch an illustration givenn its id.

pub fn request_illustration_comments(
    illust_id: usize,
    offset: usize,
    include_total_comments: bool
) -> PixivRequest
[src]

Used to build a request to fetch an illustration givenn its id.

TODO: Documentation

pub fn request_illustrations_ranking<T>(argument: T) -> PixivRequest where
    T: Into<IllustrationRankingRequestArg>, 
[src]

TODO: Documentation

TODO: Documentation

TODO: Documentation

pub fn request_illustration_following<T>(visibility: T) -> PixivRequest where
    T: Into<Visibility>, 
[src]

TODO: Documentation

pub fn request_illustration_bookmark_info(illust_id: usize) -> PixivRequest[src]

TODO: Documentation

pub fn request_adding_bookmark(
    illust_id: usize,
    visibility: Visibility
) -> PixivRequest
[src]

TODO: Documentation

pub fn request_delete_bookmark(illust_id: usize) -> PixivRequest[src]

TODO: Documentation TODO: This is V1 for whatever reason...

pub fn request_user_bookmark_tags_illustration(
    args: UserBookmarkTagsIllustrationRequestArg
) -> PixivRequest
[src]

TODO: Documentation TODO: Test

pub fn request_user_following(args: UserFollowingRequestArgs) -> PixivRequest[src]

TODO: Documentation TODO: Test

Trait Implementations

impl Clone for PixivRequestBuilder[src]

impl Debug for PixivRequestBuilder[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err