pub struct HistoryLimits {
pub max_bytes: usize,
pub max_messages: usize,
pub note_max_chars: usize,
}Fields§
§max_bytes: usize§max_messages: usize§note_max_chars: usizeTrait Implementations§
Source§impl Clone for HistoryLimits
impl Clone for HistoryLimits
Source§fn clone(&self) -> HistoryLimits
fn clone(&self) -> HistoryLimits
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 HistoryLimits
impl Debug for HistoryLimits
Auto Trait Implementations§
impl Freeze for HistoryLimits
impl RefUnwindSafe for HistoryLimits
impl Send for HistoryLimits
impl Sync for HistoryLimits
impl Unpin for HistoryLimits
impl UnsafeUnpin for HistoryLimits
impl UnwindSafe for HistoryLimits
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