pub struct NestedSortValue {
pub max_children: Option<u32>,
pub filter: Option<Query>,
pub path: String,
pub nested: Option<Box<NestedSortValue>>,
}Fields§
§max_children: Option<u32>§filter: Option<Query>§path: StringThe path to a field or an array of paths. Some APIs support wildcards in the path, which allows you to select multiple fields.
nested: Option<Box<NestedSortValue>>Implementations§
Source§impl NestedSortValue
impl NestedSortValue
pub fn new(path: String) -> NestedSortValue
Trait Implementations§
Source§impl Clone for NestedSortValue
impl Clone for NestedSortValue
Source§fn clone(&self) -> NestedSortValue
fn clone(&self) -> NestedSortValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NestedSortValue
impl Debug for NestedSortValue
Source§impl Default for NestedSortValue
impl Default for NestedSortValue
Source§fn default() -> NestedSortValue
fn default() -> NestedSortValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NestedSortValue
impl<'de> Deserialize<'de> for NestedSortValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NestedSortValue
impl PartialEq for NestedSortValue
Source§fn eq(&self, other: &NestedSortValue) -> bool
fn eq(&self, other: &NestedSortValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NestedSortValue
impl Serialize for NestedSortValue
impl StructuralPartialEq for NestedSortValue
Auto Trait Implementations§
impl Freeze for NestedSortValue
impl RefUnwindSafe for NestedSortValue
impl Send for NestedSortValue
impl Sync for NestedSortValue
impl Unpin for NestedSortValue
impl UnsafeUnpin for NestedSortValue
impl UnwindSafe for NestedSortValue
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