pub struct Stamped<V> {
generation: u64,
value: V,
}Expand description
Channel data together with the generation of its guild it was read under.
See GUILD_CHANNEL_GENERATIONS for why cached channels carry this.
Fields§
§generation: u64§value: VImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> Forget for Stamped<V>
impl<V> Freeze for Stamped<V>where
V: Freeze,
impl<V> Move for Stamped<V>
impl<V> RefUnwindSafe for Stamped<V>where
V: RefUnwindSafe,
impl<V> Send for Stamped<V>where
V: Send,
impl<V> Sync for Stamped<V>where
V: Sync,
impl<V> Unpin for Stamped<V>where
V: Unpin,
impl<V> UnsafeUnpin for Stamped<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Stamped<V>where
V: UnwindSafe,
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