pub struct TextContentsOptions {
pub max_characters: Option<u32>,
pub include_html_tags: Option<bool>,
}Expand description
Options for text content retrieval
Fields§
§max_characters: Option<u32>Maximum number of characters to return
Include HTML tags
Trait Implementations§
Source§impl Clone for TextContentsOptions
impl Clone for TextContentsOptions
Source§fn clone(&self) -> TextContentsOptions
fn clone(&self) -> TextContentsOptions
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 TextContentsOptions
impl Debug for TextContentsOptions
Source§impl Default for TextContentsOptions
impl Default for TextContentsOptions
Source§fn default() -> TextContentsOptions
fn default() -> TextContentsOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextContentsOptions
impl<'de> Deserialize<'de> for TextContentsOptions
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 TextContentsOptions
impl RefUnwindSafe for TextContentsOptions
impl Send for TextContentsOptions
impl Sync for TextContentsOptions
impl Unpin for TextContentsOptions
impl UnsafeUnpin for TextContentsOptions
impl UnwindSafe for TextContentsOptions
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