pub struct RegexpTokenizerInfo {
pub alphabet: Option<String>,
pub decoding_template: Option<String>,
pub encoding_template: Option<String>,
pub pattern: Option<String>,
}Expand description
RegexpTokenizerInfo : RegexpTokenizerInfo represents a general Regexp tokenization template
Fields§
§alphabet: Option<String>The Alphabet used for the tokenization
decoding_template: Option<String>Transformation to perform on the decrypted data
encoding_template: Option<String>Transformation to perform on the encrypted data, if the required output template doesn’t match the input string The output Should still be valid for the Pattern, otherwise the secret would be able to be decrypted.
pattern: Option<String>Regexp pattern to extract and deposit the text/encdata
Implementations§
Source§impl RegexpTokenizerInfo
impl RegexpTokenizerInfo
Sourcepub fn new() -> RegexpTokenizerInfo
pub fn new() -> RegexpTokenizerInfo
RegexpTokenizerInfo represents a general Regexp tokenization template
Trait Implementations§
Source§impl Clone for RegexpTokenizerInfo
impl Clone for RegexpTokenizerInfo
Source§fn clone(&self) -> RegexpTokenizerInfo
fn clone(&self) -> RegexpTokenizerInfo
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 RegexpTokenizerInfo
impl Debug for RegexpTokenizerInfo
Source§impl Default for RegexpTokenizerInfo
impl Default for RegexpTokenizerInfo
Source§fn default() -> RegexpTokenizerInfo
fn default() -> RegexpTokenizerInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegexpTokenizerInfo
impl<'de> Deserialize<'de> for RegexpTokenizerInfo
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
Source§impl PartialEq for RegexpTokenizerInfo
impl PartialEq for RegexpTokenizerInfo
Source§fn eq(&self, other: &RegexpTokenizerInfo) -> bool
fn eq(&self, other: &RegexpTokenizerInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegexpTokenizerInfo
impl Serialize for RegexpTokenizerInfo
impl StructuralPartialEq for RegexpTokenizerInfo
Auto Trait Implementations§
impl Freeze for RegexpTokenizerInfo
impl RefUnwindSafe for RegexpTokenizerInfo
impl Send for RegexpTokenizerInfo
impl Sync for RegexpTokenizerInfo
impl Unpin for RegexpTokenizerInfo
impl UnsafeUnpin for RegexpTokenizerInfo
impl UnwindSafe for RegexpTokenizerInfo
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