pub struct IndexDef {
pub name: String,
pub label: Label,
pub properties: Vec<PropertyKey>,
pub unique: bool,
}
Expand description
インデックス定義
Fields§
§name: String
§label: Label
§properties: Vec<PropertyKey>
§unique: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IndexDef
impl<'de> Deserialize<'de> for IndexDef
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 IndexDef
impl RefUnwindSafe for IndexDef
impl Send for IndexDef
impl Sync for IndexDef
impl Unpin for IndexDef
impl UnwindSafe for IndexDef
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