pub struct Config {
pub cache_users: bool,
pub cache_servers: bool,
pub cache_channels: bool,
pub cache_messages: bool,
pub cache_emojis: bool,
pub cache_members: bool,
}Expand description
Configuration for an InMemoryCache.
Fields§
§cache_users: boolWhether to cache users
cache_servers: boolWhether to cache servers
cache_channels: boolWhether to cache channels
cache_messages: boolWhether to cache messages
cache_emojis: boolWhether to cache emojis
cache_members: boolWhether to cache members
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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