pub struct ImaMineralsQuery {
pub q: Option<String>,
pub ima: Option<i32>,
pub id_in: Option<Vec<i32>>,
pub updated_at: Option<String>,
pub fields: Option<String>,
pub omit: Option<String>,
pub expand: Option<Vec<String>>,
pub page: Option<i32>,
pub page_size: Option<i32>,
}Expand description
Builder for IMA minerals query parameters.
Fields§
§q: Option<String>Search query.
ima: Option<i32>IMA filter.
id_in: Option<Vec<i32>>Filter by IDs.
updated_at: Option<String>Updated after datetime.
fields: Option<String>Fields to include.
omit: Option<String>Fields to omit.
expand: Option<Vec<String>>Fields to expand.
page: Option<i32>Page number.
page_size: Option<i32>Page size.
Implementations§
Source§impl ImaMineralsQuery
impl ImaMineralsQuery
Sourcepub fn select_fields(self, fields: impl Into<String>) -> Self
pub fn select_fields(self, fields: impl Into<String>) -> Self
Select specific fields.
Sourcepub fn omit_fields(self, fields: impl Into<String>) -> Self
pub fn omit_fields(self, fields: impl Into<String>) -> Self
Omit specific fields.
Sourcepub fn expand_fields(self, fields: Vec<String>) -> Self
pub fn expand_fields(self, fields: Vec<String>) -> Self
Expand related fields.
Trait Implementations§
Source§impl Clone for ImaMineralsQuery
impl Clone for ImaMineralsQuery
Source§fn clone(&self) -> ImaMineralsQuery
fn clone(&self) -> ImaMineralsQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImaMineralsQuery
impl Debug for ImaMineralsQuery
Source§impl Default for ImaMineralsQuery
impl Default for ImaMineralsQuery
Source§fn default() -> ImaMineralsQuery
fn default() -> ImaMineralsQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImaMineralsQuery
impl RefUnwindSafe for ImaMineralsQuery
impl Send for ImaMineralsQuery
impl Sync for ImaMineralsQuery
impl Unpin for ImaMineralsQuery
impl UnwindSafe for ImaMineralsQuery
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