[][src]Struct arangors::collection::options::KeyOptionsBuilder

#[must_use]pub struct KeyOptionsBuilder<TypedBuilderFields> { /* fields omitted */ }

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]

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]

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]

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]

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

impl<TypedBuilderFields> Send for KeyOptionsBuilder<TypedBuilderFields> where
    TypedBuilderFields: Send

impl<TypedBuilderFields> Sync for KeyOptionsBuilder<TypedBuilderFields> where
    TypedBuilderFields: Sync

impl<TypedBuilderFields> Unpin for KeyOptionsBuilder<TypedBuilderFields> where
    TypedBuilderFields: Unpin

impl<TypedBuilderFields> UnwindSafe for KeyOptionsBuilder<TypedBuilderFields> where
    TypedBuilderFields: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.