pub struct UserDirectoryResultEntry {
pub user_id: UserId,
pub display_name: Option<String>,
}Expand description
One row of a POST /user_directory/search result – read back through
MessengerCore::user_search_result.
Fields§
§user_id: UserIdThe user’s own id.
display_name: Option<String>The user’s display name, if they set one.
Trait Implementations§
Source§impl Clone for UserDirectoryResultEntry
impl Clone for UserDirectoryResultEntry
Source§impl Debug for UserDirectoryResultEntry
impl Debug for UserDirectoryResultEntry
Source§impl PartialEq for UserDirectoryResultEntry
impl PartialEq for UserDirectoryResultEntry
impl StructuralPartialEq for UserDirectoryResultEntry
Auto Trait Implementations§
impl Freeze for UserDirectoryResultEntry
impl RefUnwindSafe for UserDirectoryResultEntry
impl Send for UserDirectoryResultEntry
impl Sync for UserDirectoryResultEntry
impl Unpin for UserDirectoryResultEntry
impl UnsafeUnpin for UserDirectoryResultEntry
impl UnwindSafe for UserDirectoryResultEntry
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