pub struct ExtractionTemplate {
pub name: String,
pub description: String,
pub version: String,
pub author: Option<String>,
pub patterns: Vec<PatternRule>,
pub pipelines: Vec<String>,
pub output_schema: Option<Value>,
}
Fields§
§name: String
§description: String
§version: String
§patterns: Vec<PatternRule>
§pipelines: Vec<String>
§output_schema: Option<Value>
Implementations§
Trait Implementations§
Source§impl Clone for ExtractionTemplate
impl Clone for ExtractionTemplate
Source§fn clone(&self) -> ExtractionTemplate
fn clone(&self) -> ExtractionTemplate
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 ExtractionTemplate
impl Debug for ExtractionTemplate
Source§impl<'de> Deserialize<'de> for ExtractionTemplate
impl<'de> Deserialize<'de> for ExtractionTemplate
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 ExtractionTemplate
impl RefUnwindSafe for ExtractionTemplate
impl Send for ExtractionTemplate
impl Sync for ExtractionTemplate
impl Unpin for ExtractionTemplate
impl UnwindSafe for ExtractionTemplate
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