pub struct IndexField {
pub name: String,
pub field_type: FieldType,
pub index_type: Option<IndexType>,
}
Fields§
§name: String
§field_type: FieldType
§index_type: Option<IndexType>
Implementations§
Source§impl IndexField
impl IndexField
Trait Implementations§
Source§impl Clone for IndexField
impl Clone for IndexField
Source§fn clone(&self) -> IndexField
fn clone(&self) -> IndexField
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 IndexField
impl Debug for IndexField
Source§impl<'de> Deserialize<'de> for IndexField
impl<'de> Deserialize<'de> for IndexField
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
Auto Trait Implementations§
impl Freeze for IndexField
impl RefUnwindSafe for IndexField
impl Send for IndexField
impl Sync for IndexField
impl Unpin for IndexField
impl UnwindSafe for IndexField
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