pub struct ExternalInputParser {
pub provider_id: String,
pub input_regex: String,
pub parser_url: String,
}Expand description
Configuration for an external input parser
Fields§
§provider_id: StringAn arbitrary parser provider id
input_regex: StringThe external parser will be used when an input conforms to this regex
parser_url: StringThe URL of the parser containing a placeholder <input> that will be replaced with the
input to be parsed. The input is sanitized using percent encoding.
Trait Implementations§
Source§impl Clone for ExternalInputParser
impl Clone for ExternalInputParser
Source§fn clone(&self) -> ExternalInputParser
fn clone(&self) -> ExternalInputParser
Returns a duplicate of the value. Read more
1.0.0 · 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 ExternalInputParser
impl Debug for ExternalInputParser
Source§impl From<ExternalInputParser> for ExternalInputParser
impl From<ExternalInputParser> for ExternalInputParser
Source§fn from(source: ExternalInputParser) -> Self
fn from(source: ExternalInputParser) -> Self
Converts to this type from the input type.
Source§impl From<ExternalInputParser> for ExternalInputParser
impl From<ExternalInputParser> for ExternalInputParser
Auto Trait Implementations§
impl Freeze for ExternalInputParser
impl RefUnwindSafe for ExternalInputParser
impl Send for ExternalInputParser
impl Sync for ExternalInputParser
impl Unpin for ExternalInputParser
impl UnwindSafe for ExternalInputParser
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request