pub struct ClientCache {
pub users: Cache<String, User>,
pub channels: Cache<String, Channel>,
pub messages: Cache<String, Message>,
}Fields§
§users: Cache<String, User>§channels: Cache<String, Channel>§messages: Cache<String, Message>Implementations§
Source§impl ClientCache
impl ClientCache
Trait Implementations§
Source§impl Clone for ClientCache
impl Clone for ClientCache
Source§fn clone(&self) -> ClientCache
fn clone(&self) -> ClientCache
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 !RefUnwindSafe for ClientCache
impl !UnwindSafe for ClientCache
impl Freeze for ClientCache
impl Send for ClientCache
impl Sync for ClientCache
impl Unpin for ClientCache
impl UnsafeUnpin for ClientCache
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