pub struct ExtractionRule {
pub name: String,
pub when: ExtractionCondition,
pub then: ExtractionValue,
}Fields§
§name: String§when: ExtractionCondition§then: ExtractionValueTrait Implementations§
Source§impl Clone for ExtractionRule
impl Clone for ExtractionRule
Source§impl Debug for ExtractionRule
impl Debug for ExtractionRule
Source§impl<'de> Deserialize<'de> for ExtractionRule
impl<'de> Deserialize<'de> for ExtractionRule
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
impl Eq for ExtractionRule
Source§impl JsonSchema for ExtractionRule
impl JsonSchema for ExtractionRule
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExtractionRule
impl PartialEq for ExtractionRule
Source§impl Serialize for ExtractionRule
impl Serialize for ExtractionRule
impl StructuralPartialEq for ExtractionRule
Auto Trait Implementations§
impl Freeze for ExtractionRule
impl RefUnwindSafe for ExtractionRule
impl Send for ExtractionRule
impl Sync for ExtractionRule
impl Unpin for ExtractionRule
impl UnsafeUnpin for ExtractionRule
impl UnwindSafe for ExtractionRule
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