pub struct PersonMentionDataBuilder { /* private fields */ }
Expand description
Builder for PersonMentionData
.
Implementations§
Source§impl PersonMentionDataBuilder
impl PersonMentionDataBuilder
Sourcepub fn with_user_huid<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn with_user_huid<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
huid пользователя которого меншат (uuid5)
Sourcepub fn with_conn_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn with_conn_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
тип соединения контакта
Sourcepub fn build(&self) -> Result<PersonMentionData, PersonMentionDataBuilderError>
pub fn build(&self) -> Result<PersonMentionData, PersonMentionDataBuilderError>
Trait Implementations§
Source§impl Clone for PersonMentionDataBuilder
impl Clone for PersonMentionDataBuilder
Source§fn clone(&self) -> PersonMentionDataBuilder
fn clone(&self) -> PersonMentionDataBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PersonMentionDataBuilder
impl RefUnwindSafe for PersonMentionDataBuilder
impl Send for PersonMentionDataBuilder
impl Sync for PersonMentionDataBuilder
impl Unpin for PersonMentionDataBuilder
impl UnwindSafe for PersonMentionDataBuilder
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