pub struct KeysConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> KeysConstructorBuilder<S>
impl<S: State> KeysConstructorBuilder<S>
Sourcepub fn build(self) -> KeysConstructorwhere
S: IsComplete,
pub fn build(self) -> KeysConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn first_key(
self,
value: FirstKeyNode,
) -> KeysConstructorBuilder<SetFirstKey<S>>where
S::FirstKey: IsUnset,
pub fn first_key(
self,
value: FirstKeyNode,
) -> KeysConstructorBuilder<SetFirstKey<S>>where
S::FirstKey: IsUnset,
Required.
Sourcepub fn keys_list(
self,
value: KeysListNode,
) -> KeysConstructorBuilder<SetKeysList<S>>where
S::KeysList: IsUnset,
pub fn keys_list(
self,
value: KeysListNode,
) -> KeysConstructorBuilder<SetKeysList<S>>where
S::KeysList: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for KeysConstructorBuilder<S>
impl<S> RefUnwindSafe for KeysConstructorBuilder<S>
impl<S> Send for KeysConstructorBuilder<S>
impl<S> Sync for KeysConstructorBuilder<S>
impl<S> Unpin for KeysConstructorBuilder<S>
impl<S> UnwindSafe for KeysConstructorBuilder<S>
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