pub struct TruncationInfo {
pub original_summary_len: usize,
pub original_raw_len: Option<usize>,
pub max_allowed_chars: usize,
}Fields§
§original_summary_len: usize§original_raw_len: Option<usize>§max_allowed_chars: usizeTrait Implementations§
Source§impl Clone for TruncationInfo
impl Clone for TruncationInfo
Source§fn clone(&self) -> TruncationInfo
fn clone(&self) -> TruncationInfo
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 moreAuto Trait Implementations§
impl Freeze for TruncationInfo
impl RefUnwindSafe for TruncationInfo
impl Send for TruncationInfo
impl Sync for TruncationInfo
impl Unpin for TruncationInfo
impl UnsafeUnpin for TruncationInfo
impl UnwindSafe for TruncationInfo
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