pub struct RelationsQuery {
pub q: Option<String>,
pub min1: Option<i64>,
pub min2: Option<i64>,
pub rel: Option<i32>,
pub page: Option<i32>,
pub page_size: Option<i32>,
}Expand description
Builder for /relations/ query parameters.
Fields§
§q: Option<String>Free-text search.
min1: Option<i64>Filter by first mineral ID.
min2: Option<i64>Filter by second mineral ID.
rel: Option<i32>Filter by relation type.
page: Option<i32>Page number.
page_size: Option<i32>Page size.
Implementations§
Trait Implementations§
Source§impl Clone for RelationsQuery
impl Clone for RelationsQuery
Source§impl Debug for RelationsQuery
impl Debug for RelationsQuery
Auto Trait Implementations§
impl Freeze for RelationsQuery
impl RefUnwindSafe for RelationsQuery
impl Send for RelationsQuery
impl Sync for RelationsQuery
impl Unpin for RelationsQuery
impl UnsafeUnpin for RelationsQuery
impl UnwindSafe for RelationsQuery
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