diff --git a/src/data.rs b/src/data.rs index f7504c1..3dd3be1 100644 --- a/src/data.rs +++ b/src/data.rs @@ -126,21 +126,21 @@ pub struct SearchParameters { /// What type of search this is /// /// Search types: `search`, `tv-search`, `movie-search`, `audio-search`, `book-search` - pub search_type: String, + pub(crate) search_type: String, /// The text query for the search - pub q: Option, + pub(crate) q: Option, /// The apikey, for authentication - pub apikey: Option, + pub(crate) apikey: Option, /// A [`Vec`] containing the numeric category IDs to be included in the search results - pub categories: Option>, + pub(crate) categories: Option>, /// A [`Vec`] containing the extended attribute names to be included in the search results - pub attributes: Option>, + pub(crate) attributes: Option>, /// Whether *all* extended attributes should be included in the search results; overrules `attributes` - pub extended_attrs: Option, + pub(crate) extended_attrs: Option, /// How many items to skip/offset by in the results. - pub offset: Option, + pub(crate) offset: Option, /// The maximum number of items to return - also limited to whatever `limits` is in [`Caps`] - pub limit: u32, + pub(crate) limit: u32, } #[derive(Debug, Clone, PartialEq, Eq)] diff --git a/src/notes/notes.rs b/src/notes/notes.rs index c5a4e35..63f5396 100644 --- a/src/notes/notes.rs +++ b/src/notes/notes.rs @@ -1,6 +1,6 @@ //! Notes regarding the usage of torznab-tooolkit, and its implementation of Torznab //! -//! - Please implement whatever attributes for torrents you can whenever possible to improve search results; particularly, `season`, `ep`, and `*id` fields are recommended, besides those listed in [`Torrent`] +//! - Please implement whatever attributes for torrents you can whenever possible to improve search results; particularly, `season`, `ep`, and `*id` fields are recommended, besides those listed in [``] //! - Potential attributes are listed [here](https://torznab.github.io/spec-1.3-draft/torznab/Specification-v1.3.html#predefined-attributes) //! - Because the behavior of `length` is ambiguous, torznab-toolkit just sets it to 0; the size is just specified by the `size` attribute //! - See [here](https://torznab.github.io/spec-1.3-draft/revisions/1.0-Torznab-Torrent-Support.html) for details