pub struct SearchResult {
pub item: Item,
pub copies: Option<Copies>,
}Expand description
An item a search found, as a client shows both a plain search’s and a federated one’s: the item, and where it is from with its title’s other copies when the search was across paired servers.
Fields§
§item: Item§copies: Option<Copies>Where it is from, its other copies and the copy that plays; None
from a search of this server alone, where it is this server’s own.
Implementations§
Trait Implementations§
Source§impl Clone for SearchResult
impl Clone for SearchResult
Source§impl Debug for SearchResult
impl Debug for SearchResult
impl Eq for SearchResult
Source§impl From<Item> for SearchResult
impl From<Item> for SearchResult
Source§impl From<SearchHit> for SearchResult
impl From<SearchHit> for SearchResult
Source§impl PartialEq for SearchResult
impl PartialEq for SearchResult
impl StructuralPartialEq for SearchResult
Auto Trait Implementations§
impl Freeze for SearchResult
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnsafeUnpin for SearchResult
impl UnwindSafe for SearchResult
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