pub struct DocumentTransform {
pub document: String,
pub field_transforms: Vec<FieldTransform>,
}Expand description
A transformation of a document.
Fields§
§document: StringThe name of the document to transform.
field_transforms: Vec<FieldTransform>The list of transformations to apply to the fields of the document.
Trait Implementations§
Source§impl Clone for DocumentTransform
impl Clone for DocumentTransform
Source§fn clone(&self) -> DocumentTransform
fn clone(&self) -> DocumentTransform
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 DocumentTransform
impl Debug for DocumentTransform
Source§impl<'de> Deserialize<'de> for DocumentTransform
impl<'de> Deserialize<'de> for DocumentTransform
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 DocumentTransform
impl RefUnwindSafe for DocumentTransform
impl Send for DocumentTransform
impl Sync for DocumentTransform
impl Unpin for DocumentTransform
impl UnwindSafe for DocumentTransform
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