pub struct LookupResult<T> {
pub value: T,
pub name: String,
}Expand description
The result of a lookup operation, containing both the raw value and its name.
This struct pairs the original identifier with its human-readable name, allowing display in formats like “1 (RSA)” or just the name.
Fields§
§value: TThe original identifier value.
name: StringThe human-readable name for this identifier.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for LookupResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for LookupResult<T>where
T: RefUnwindSafe,
impl<T> Send for LookupResult<T>where
T: Send,
impl<T> Sync for LookupResult<T>where
T: Sync,
impl<T> Unpin for LookupResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for LookupResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LookupResult<T>where
T: UnwindSafe,
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