#[non_exhaustive]pub struct IndexedProperty {
pub name: String,
pub direction: Direction,
/* private fields */
}Expand description
A property of an index.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The property name to index.
direction: DirectionRequired. The indexed property’s direction. Must not be DIRECTION_UNSPECIFIED.
Implementations§
Trait Implementations§
Source§impl Clone for IndexedProperty
impl Clone for IndexedProperty
Source§fn clone(&self) -> IndexedProperty
fn clone(&self) -> IndexedProperty
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 IndexedProperty
impl Debug for IndexedProperty
Source§impl Default for IndexedProperty
impl Default for IndexedProperty
Source§fn default() -> IndexedProperty
fn default() -> IndexedProperty
Returns the “default value” for a type. Read more
Source§impl Message for IndexedProperty
impl Message for IndexedProperty
Source§impl PartialEq for IndexedProperty
impl PartialEq for IndexedProperty
impl StructuralPartialEq for IndexedProperty
Auto Trait Implementations§
impl Freeze for IndexedProperty
impl RefUnwindSafe for IndexedProperty
impl Send for IndexedProperty
impl Sync for IndexedProperty
impl Unpin for IndexedProperty
impl UnwindSafe for IndexedProperty
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