Struct hydrus_api::api_core::endpoints::adding_tags::TagSearchOptions
source · pub struct TagSearchOptions {
pub tag_service: Option<ServiceIdentifier>,
pub display_type: TagDisplayType,
}
Fields§
§tag_service: Option<ServiceIdentifier>
And optional filter for the service the tags should belong to
display_type: TagDisplayType
Controls how the tags in the result should be displayed
Implementations§
source§impl TagSearchOptions
impl TagSearchOptions
sourcepub fn display_type(self, display_type: TagDisplayType) -> Self
pub fn display_type(self, display_type: TagDisplayType) -> Self
Sets the display type of the search result
sourcepub fn tag_service(self, tag_service: ServiceIdentifier) -> Self
pub fn tag_service(self, tag_service: ServiceIdentifier) -> Self
Adds a filter for the tag service that the tags we’re searching for should belong to.
Trait Implementations§
source§impl Debug for TagSearchOptions
impl Debug for TagSearchOptions
source§impl Default for TagSearchOptions
impl Default for TagSearchOptions
source§fn default() -> TagSearchOptions
fn default() -> TagSearchOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TagSearchOptions
impl Send for TagSearchOptions
impl Sync for TagSearchOptions
impl Unpin for TagSearchOptions
impl UnwindSafe for TagSearchOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more