pub struct GovernanceSearchHit {
pub entry: GovernanceLogIndexEntry,
pub snippet: String,
}Expand description
A governance log search result: an index line plus the matching fragment. REST-only — the seed toolbox has no search-governance tool.
Fields§
§entry: GovernanceLogIndexEntry§snippet: StringA ts_headline fragment showing the match in context.
Trait Implementations§
Source§impl Clone for GovernanceSearchHit
impl Clone for GovernanceSearchHit
Source§fn clone(&self) -> GovernanceSearchHit
fn clone(&self) -> GovernanceSearchHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GovernanceSearchHit
impl Debug for GovernanceSearchHit
Source§impl<'de> Deserialize<'de> for GovernanceSearchHit
impl<'de> Deserialize<'de> for GovernanceSearchHit
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 Freeze for GovernanceSearchHit
impl RefUnwindSafe for GovernanceSearchHit
impl Send for GovernanceSearchHit
impl Sync for GovernanceSearchHit
impl Unpin for GovernanceSearchHit
impl UnsafeUnpin for GovernanceSearchHit
impl UnwindSafe for GovernanceSearchHit
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