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 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 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