[−][src]Struct arangors::collection::options::KeyOptionsBuilder
Builder for KeyOptions
instances.
See KeyOptions::builder()
for more info.
Implementations
impl<__key_type, __increment, __offset> KeyOptionsBuilder<((), __key_type, __increment, __offset)>
[src]
pub fn allow_user_keys(
self,
allow_user_keys: bool
) -> KeyOptionsBuilder<((bool,), __key_type, __increment, __offset)>
[src]
self,
allow_user_keys: bool
) -> KeyOptionsBuilder<((bool,), __key_type, __increment, __offset)>
impl<__allow_user_keys, __increment, __offset> KeyOptionsBuilder<(__allow_user_keys, (), __increment, __offset)>
[src]
pub fn key_type(
self,
key_type: String
) -> KeyOptionsBuilder<(__allow_user_keys, (Option<String>,), __increment, __offset)>
[src]
self,
key_type: String
) -> KeyOptionsBuilder<(__allow_user_keys, (Option<String>,), __increment, __offset)>
impl<__allow_user_keys, __key_type, __offset> KeyOptionsBuilder<(__allow_user_keys, __key_type, (), __offset)>
[src]
pub fn increment(
self,
increment: u32
) -> KeyOptionsBuilder<(__allow_user_keys, __key_type, (Option<u32>,), __offset)>
[src]
self,
increment: u32
) -> KeyOptionsBuilder<(__allow_user_keys, __key_type, (Option<u32>,), __offset)>
impl<__allow_user_keys, __key_type, __increment> KeyOptionsBuilder<(__allow_user_keys, __key_type, __increment, ())>
[src]
pub fn offset(
self,
offset: u32
) -> KeyOptionsBuilder<(__allow_user_keys, __key_type, __increment, (Option<u32>,))>
[src]
self,
offset: u32
) -> KeyOptionsBuilder<(__allow_user_keys, __key_type, __increment, (Option<u32>,))>
impl<__allow_user_keys: KeyOptionsBuilder_Optional<bool>, __key_type: KeyOptionsBuilder_Optional<Option<String>>, __increment: KeyOptionsBuilder_Optional<Option<u32>>, __offset: KeyOptionsBuilder_Optional<Option<u32>>> KeyOptionsBuilder<(__allow_user_keys, __key_type, __increment, __offset)>
[src]
pub fn build(self) -> KeyOptions
[src]
Finalise the builder and create its KeyOptions
instance
Auto Trait Implementations
impl<TypedBuilderFields> RefUnwindSafe for KeyOptionsBuilder<TypedBuilderFields> where
TypedBuilderFields: RefUnwindSafe,
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for KeyOptionsBuilder<TypedBuilderFields> where
TypedBuilderFields: Send,
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for KeyOptionsBuilder<TypedBuilderFields> where
TypedBuilderFields: Sync,
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for KeyOptionsBuilder<TypedBuilderFields> where
TypedBuilderFields: Unpin,
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for KeyOptionsBuilder<TypedBuilderFields> where
TypedBuilderFields: UnwindSafe,
TypedBuilderFields: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,