pub struct CreateIndexClause {
pub name: Option<String>,
pub target: IndexTarget,
pub property: String,
}Expand description
CREATE INDEX [name] ON :Label(property) or CREATE INDEX [name] ON :REL_TYPE(property)
Fields§
§name: Option<String>Optional index name.
target: IndexTargetLabel or relationship type the index applies to.
property: StringProperty key the index covers.
Trait Implementations§
Source§impl Clone for CreateIndexClause
impl Clone for CreateIndexClause
Source§fn clone(&self) -> CreateIndexClause
fn clone(&self) -> CreateIndexClause
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 CreateIndexClause
impl Debug for CreateIndexClause
Source§impl PartialEq for CreateIndexClause
impl PartialEq for CreateIndexClause
impl StructuralPartialEq for CreateIndexClause
Auto Trait Implementations§
impl Freeze for CreateIndexClause
impl RefUnwindSafe for CreateIndexClause
impl Send for CreateIndexClause
impl Sync for CreateIndexClause
impl Unpin for CreateIndexClause
impl UnsafeUnpin for CreateIndexClause
impl UnwindSafe for CreateIndexClause
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