pub struct DirectoryMatch {
pub user_id: i64,
pub public_id: String,
pub label: String,
}Expand description
One ranked, labeled match — [rank_directory_candidates]’s own output
row, carrying public_id along so the route handler can
crate::store::ensure_matrix_user it into an mxid without a second
identity-database round trip.
Fields§
§user_id: i64§public_id: String§label: StringAuto Trait Implementations§
impl Freeze for DirectoryMatch
impl RefUnwindSafe for DirectoryMatch
impl Send for DirectoryMatch
impl Sync for DirectoryMatch
impl Unpin for DirectoryMatch
impl UnsafeUnpin for DirectoryMatch
impl UnwindSafe for DirectoryMatch
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