agdb 0.12.10

Agnesoft Graph Database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::DbValue;
use crate::RemoveIndexQuery;

/// Final step in the remove index query builder.
#[cfg_attr(feature = "api", derive(agdb::TypeDef))]
pub struct RemoveIndex(pub DbValue);

#[cfg_attr(feature = "api", agdb::impl_def())]
impl RemoveIndex {
    /// Returns the built `RemoveIndexQuery`.
    pub fn query(self) -> RemoveIndexQuery {
        RemoveIndexQuery(self.0)
    }
}