pub struct SearchOutput {
pub query: String,
pub synapse_url: String,
pub result_count: usize,
pub results: Vec<SearchResult>,
}Expand description
Result of crate::visitor::search / crate::visitor::search_with_bond.
Fields§
§query: String§synapse_url: String§result_count: usize§results: Vec<SearchResult>Trait Implementations§
Source§impl Clone for SearchOutput
impl Clone for SearchOutput
Source§impl Debug for SearchOutput
impl Debug for SearchOutput
Source§impl<'de> Deserialize<'de> for SearchOutput
impl<'de> Deserialize<'de> for SearchOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for SearchOutput
impl Freeze for SearchOutput
impl RefUnwindSafe for SearchOutput
impl Send for SearchOutput
impl Sync for SearchOutput
impl Unpin for SearchOutput
impl UnsafeUnpin for SearchOutput
impl UnwindSafe for SearchOutput
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