Struct pixiv::PixivRequestBuilder [] [src]

pub struct PixivRequestBuilder<'a> { /* fields omitted */ }

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

Methods

impl<'a> PixivRequestBuilder<'a>
[src]

[src]

Create a new PixivRequestBuilder. Functions in Pixiv expedite a lot of this for you, so using this directly isn't recommended unless you know what you want.

[src]

Sets the page param.

[src]

Sets the per_page param.

[src]

Sets the max_id param.

[src]

Sets the image_sizes param. Available types: px_128x128, small, medium, large, px_480mw

[src]

Sets the profile_image_sizes param. Available types: px_170x170,px_50x50

[src]

Sets the publicity param. Must be a value of enum Publicity.

[src]

Sets the show_r18 param. true means R-18 works will be included.

[src]

Sets the include_stats param.

[src]

Sets the include_sanity_level param.

[src]

Sets the ranking mode in the case of a ranking() call. Must be a value of enum RankingMode.

[src]

Sets the date param. Must be a valid date in the form of %Y-%m-%d, e.g. 2018-2-22.

[src]

Sets the period param in the case of a search_works() call. Must be a value of enum SearchPeriod.

[src]

Sets the mode param in the case of a search_works() call. Must be a value of enum SearchMode.

[src]

Sets the order param in the case of a search_works() call. Must be a value of enum SearchOrder.

[src]

Sets the sort param in the case of a search_works() call. Not sure if there's any variations here, but this function is included for convenience.

[src]

Sets the types param in the case of a search_works() call. Available values: illustration, manga, ugoira.

[src]

Returns a PixivRequest which can be inspected and/or executed with Pixiv::execute().

[src]

Sends the request. This function consumes self.

Trait Implementations

impl<'a> Debug for PixivRequestBuilder<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for PixivRequestBuilder<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for PixivRequestBuilder<'a>

impl<'a> !Sync for PixivRequestBuilder<'a>