pub struct UUIDOutputPlugin { /* private fields */ }Implementations§
Source§impl UUIDOutputPlugin
impl UUIDOutputPlugin
pub fn from_file<P: AsRef<Path>>( filename: &P, ) -> Result<UUIDOutputPlugin, OutputPluginError>
Trait Implementations§
Source§impl OutputPlugin for UUIDOutputPlugin
impl OutputPlugin for UUIDOutputPlugin
Source§fn process(
&self,
output: &mut Value,
search_result: &Result<(SearchAppResult, SearchInstance), CompassAppError>,
) -> Result<(), OutputPluginError>
fn process( &self, output: &mut Value, search_result: &Result<(SearchAppResult, SearchInstance), CompassAppError>, ) -> Result<(), OutputPluginError>
Applies this
OutputPlugin to a search result, passing along a JSON
that will replace the output JSON argument. Read moreAuto Trait Implementations§
impl Freeze for UUIDOutputPlugin
impl RefUnwindSafe for UUIDOutputPlugin
impl Send for UUIDOutputPlugin
impl Sync for UUIDOutputPlugin
impl Unpin for UUIDOutputPlugin
impl UnwindSafe for UUIDOutputPlugin
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more