Struct twilight_cache_inmemory::GuildResource [−][src]
pub struct GuildResource<T> { /* fields omitted */ }
Expand description
Resource associated with a guild.
This is used when a resource does not itself include its associated guild’s ID. In lieu of the resource itself storing its guild’s ID this relation includes it.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for GuildResource<T> where
T: RefUnwindSafe,
impl<T> Send for GuildResource<T> where
T: Send,
impl<T> Sync for GuildResource<T> where
T: Sync,
impl<T> Unpin for GuildResource<T> where
T: Unpin,
impl<T> UnwindSafe for GuildResource<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more