pub struct ExpandContext<'a> {
pub ctx: &'a Context,
pub message: &'a Message,
pub guild_id: GuildId,
}Expand description
Shared inputs for expanding the links of one message.
Fields§
§ctx: &'a ContextThe serenity context.
message: &'a MessageThe message whose links are being expanded.
guild_id: GuildIdThe guild the message was sent in.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ExpandContext<'a>
impl<'a> !UnwindSafe for ExpandContext<'a>
impl<'a> Freeze for ExpandContext<'a>
impl<'a> Send for ExpandContext<'a>
impl<'a> Sync for ExpandContext<'a>
impl<'a> Unpin for ExpandContext<'a>
impl<'a> UnsafeUnpin for ExpandContext<'a>
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