pub struct TransformParams {
pub return_format: Option<ReturnFormat>,
pub readability: Option<bool>,
pub clean: Option<bool>,
pub clean_full: Option<bool>,
pub data: Vec<Resource>,
}Expand description
Structure representing request parameters for transforming files.
Fields§
§return_format: Option<ReturnFormat>The format in which the result should be returned.
readability: Option<bool>Specifies whether readability optimizations should be applied.
clean: Option<bool>Clean the markdown or text for AI.
clean_full: Option<bool>Clean the markdown or text for AI removing footers, navigation, and more.
data: Vec<Resource>The data being transformed.
Trait Implementations§
Source§impl Clone for TransformParams
impl Clone for TransformParams
Source§fn clone(&self) -> TransformParams
fn clone(&self) -> TransformParams
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 TransformParams
impl Debug for TransformParams
Source§impl Default for TransformParams
impl Default for TransformParams
Source§fn default() -> TransformParams
fn default() -> TransformParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransformParams
impl<'de> Deserialize<'de> for TransformParams
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 TransformParams
impl RefUnwindSafe for TransformParams
impl Send for TransformParams
impl Sync for TransformParams
impl Unpin for TransformParams
impl UnwindSafe for TransformParams
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