pub struct CommandMsgBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> CommandMsgBuilder<S>
impl<S: State> CommandMsgBuilder<S>
Sourcepub fn build(self) -> CommandMsgwhere
S: IsComplete,
pub fn build(self) -> CommandMsgwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn inner(self, value: impl Into<Ustr>) -> CommandMsgBuilder<SetInner<S>>where
S::Inner: IsUnset,
pub fn inner(self, value: impl Into<Ustr>) -> CommandMsgBuilder<SetInner<S>>where
S::Inner: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for CommandMsgBuilder<S>
impl<S> RefUnwindSafe for CommandMsgBuilder<S>
impl<S> Send for CommandMsgBuilder<S>
impl<S> Sync for CommandMsgBuilder<S>
impl<S> Unpin for CommandMsgBuilder<S>
impl<S> UnsafeUnpin for CommandMsgBuilder<S>
impl<S> UnwindSafe for CommandMsgBuilder<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