pub struct MentionEntry {
pub text: String,
pub key: String,
pub phone: String,
}Expand description
One name or place of the host’s mention list (@ mode).
Fields§
§text: StringThe committed text.
key: StringLowercase pinyin syllables joined by ' (zhang'san), matched by prefix and by initials; empty to match an ASCII text by its own letters only.
phone: String联系人手机号;普通名单为空,联系人候选命中姓名拼音时提交这一栏。
Trait Implementations§
Source§impl Clone for MentionEntry
impl Clone for MentionEntry
Source§impl Debug for MentionEntry
impl Debug for MentionEntry
impl Eq for MentionEntry
Source§impl PartialEq for MentionEntry
impl PartialEq for MentionEntry
impl StructuralPartialEq for MentionEntry
Auto Trait Implementations§
impl Freeze for MentionEntry
impl RefUnwindSafe for MentionEntry
impl Send for MentionEntry
impl Sync for MentionEntry
impl Unpin for MentionEntry
impl UnsafeUnpin for MentionEntry
impl UnwindSafe for MentionEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.