pub struct GroupMentionDataBuilder { /* private fields */ }Expand description
Builder for GroupMentionData.
Implementations§
source§impl GroupMentionDataBuilder
impl GroupMentionDataBuilder
sourcepub fn with_group_chat_id<VALUE: Into<Uuid>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn with_group_chat_id<VALUE: Into<Uuid>>( &mut self, value: VALUE ) -> &mut Self
id чата
sourcepub fn with_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn with_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
отображаемое имя чата (uuid5)
sourcepub fn build(&self) -> Result<GroupMentionData, GroupMentionDataBuilderError>
pub fn build(&self) -> Result<GroupMentionData, GroupMentionDataBuilderError>
Trait Implementations§
source§impl Clone for GroupMentionDataBuilder
impl Clone for GroupMentionDataBuilder
source§fn clone(&self) -> GroupMentionDataBuilder
fn clone(&self) -> GroupMentionDataBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for GroupMentionDataBuilder
impl Send for GroupMentionDataBuilder
impl Sync for GroupMentionDataBuilder
impl Unpin for GroupMentionDataBuilder
impl UnwindSafe for GroupMentionDataBuilder
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