pub struct MessageReference {
pub message_id: Snowflake,
pub channel_id: Option<Snowflake>,
pub guild_id: Option<Snowflake>,
pub fail_if_not_exists: Option<bool>,
}Fields§
§message_id: Snowflake§channel_id: Option<Snowflake>§guild_id: Option<Snowflake>§fail_if_not_exists: Option<bool>Trait Implementations§
Source§impl Clone for MessageReference
impl Clone for MessageReference
Source§fn clone(&self) -> MessageReference
fn clone(&self) -> MessageReference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageReference
impl Debug for MessageReference
Auto Trait Implementations§
impl Freeze for MessageReference
impl RefUnwindSafe for MessageReference
impl Send for MessageReference
impl Sync for MessageReference
impl Unpin for MessageReference
impl UnsafeUnpin for MessageReference
impl UnwindSafe for MessageReference
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