diff --git a/src/data.rs b/src/data.rs index 3dd3be1..f7504c1 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(crate) search_type: String, + pub search_type: String, /// The text query for the search - pub(crate) q: Option, + pub q: Option, /// The apikey, for authentication - pub(crate) apikey: Option, + pub apikey: Option, /// A [`Vec`] containing the numeric category IDs to be included in the search results - pub(crate) categories: Option>, + pub categories: Option>, /// A [`Vec`] containing the extended attribute names to be included in the search results - pub(crate) attributes: Option>, + pub attributes: Option>, /// Whether *all* extended attributes should be included in the search results; overrules `attributes` - pub(crate) extended_attrs: Option, + pub extended_attrs: Option, /// How many items to skip/offset by in the results. - pub(crate) offset: Option, + pub offset: Option, /// The maximum number of items to return - also limited to whatever `limits` is in [`Caps`] - pub(crate) limit: u32, + pub limit: u32, } #[derive(Debug, Clone, PartialEq, Eq)]