pub struct SystemMessageDataLockConvoBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl<S: BosStr> SystemMessageDataLockConvoBuilder<Empty, S>
impl<S: BosStr> SystemMessageDataLockConvoBuilder<Empty, S>
Source§impl<St, S: BosStr> SystemMessageDataLockConvoBuilder<St, S>
impl<St, S: BosStr> SystemMessageDataLockConvoBuilder<St, S>
Sourcepub fn locked_by(
self,
value: impl Into<SystemMessageReferredUser<S>>,
) -> SystemMessageDataLockConvoBuilder<SetLockedBy<St>, S>
pub fn locked_by( self, value: impl Into<SystemMessageReferredUser<S>>, ) -> SystemMessageDataLockConvoBuilder<SetLockedBy<St>, S>
Set the lockedBy field (required)
Source§impl<St, S: BosStr> SystemMessageDataLockConvoBuilder<St, S>
impl<St, S: BosStr> SystemMessageDataLockConvoBuilder<St, S>
Sourcepub fn build(self) -> SystemMessageDataLockConvo<S>
pub fn build(self) -> SystemMessageDataLockConvo<S>
Build the final struct.
Sourcepub fn build_with_data(
self,
extra_data: BTreeMap<SmolStr, Data<S>>,
) -> SystemMessageDataLockConvo<S>
pub fn build_with_data( self, extra_data: BTreeMap<SmolStr, Data<S>>, ) -> SystemMessageDataLockConvo<S>
Build the final struct with custom extra_data.
Auto Trait Implementations§
impl<St, S> Freeze for SystemMessageDataLockConvoBuilder<St, S>where
S: Freeze,
impl<St, S> RefUnwindSafe for SystemMessageDataLockConvoBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for SystemMessageDataLockConvoBuilder<St, S>where
S: Send,
impl<St, S> Sync for SystemMessageDataLockConvoBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for SystemMessageDataLockConvoBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for SystemMessageDataLockConvoBuilder<St, S>where
S: UnsafeUnpin,
impl<St, S> UnwindSafe for SystemMessageDataLockConvoBuilder<St, S>where
S: UnwindSafe + RefUnwindSafe,
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