pub struct ObjectListConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ObjectListConstructorBuilder<S>
impl<S: State> ObjectListConstructorBuilder<S>
Sourcepub fn build(self) -> ObjectListConstructorwhere
S: IsComplete,
pub fn build(self) -> ObjectListConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn keys(self, value: KeysNode) -> ObjectListConstructorBuilder<SetKeys<S>>where
S::Keys: IsUnset,
pub fn keys(self, value: KeysNode) -> ObjectListConstructorBuilder<SetKeys<S>>where
S::Keys: IsUnset,
Required.
Sourcepub fn map_bind(
self,
value: MapBindNode,
) -> ObjectListConstructorBuilder<SetMapBind<S>>where
S::MapBind: IsUnset,
pub fn map_bind(
self,
value: MapBindNode,
) -> ObjectListConstructorBuilder<SetMapBind<S>>where
S::MapBind: IsUnset,
Required.
Sourcepub fn value(
self,
value: ValueNode,
) -> ObjectListConstructorBuilder<SetValue<S>>where
S::Value: IsUnset,
pub fn value(
self,
value: ValueNode,
) -> ObjectListConstructorBuilder<SetValue<S>>where
S::Value: IsUnset,
Required.
Sourcepub fn object_opt_0(
self,
value: ObjectOpt0Node,
) -> ObjectListConstructorBuilder<SetObjectOpt0<S>>where
S::ObjectOpt0: IsUnset,
pub fn object_opt_0(
self,
value: ObjectOpt0Node,
) -> ObjectListConstructorBuilder<SetObjectOpt0<S>>where
S::ObjectOpt0: IsUnset,
Required.
Sourcepub fn object_list(
self,
value: ObjectListNode,
) -> ObjectListConstructorBuilder<SetObjectList<S>>where
S::ObjectList: IsUnset,
pub fn object_list(
self,
value: ObjectListNode,
) -> ObjectListConstructorBuilder<SetObjectList<S>>where
S::ObjectList: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for ObjectListConstructorBuilder<S>
impl<S> RefUnwindSafe for ObjectListConstructorBuilder<S>
impl<S> Send for ObjectListConstructorBuilder<S>
impl<S> Sync for ObjectListConstructorBuilder<S>
impl<S> Unpin for ObjectListConstructorBuilder<S>
impl<S> UnwindSafe for ObjectListConstructorBuilder<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