pub struct RestoreConfig {
pub max_messages: usize,
pub max_chars: usize,
pub include_context: bool,
pub include_events: bool,
}Fields§
§max_messages: usize§max_chars: usize§include_context: bool§include_events: boolTrait Implementations§
Source§impl Clone for RestoreConfig
impl Clone for RestoreConfig
Source§fn clone(&self) -> RestoreConfig
fn clone(&self) -> RestoreConfig
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 RestoreConfig
impl Debug for RestoreConfig
Auto Trait Implementations§
impl Freeze for RestoreConfig
impl RefUnwindSafe for RestoreConfig
impl Send for RestoreConfig
impl Sync for RestoreConfig
impl Unpin for RestoreConfig
impl UnsafeUnpin for RestoreConfig
impl UnwindSafe for RestoreConfig
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