pub struct AddRequest<'a> {
pub name: &'a str,
pub file: Option<&'a str>,
pub file_comment: Option<&'a str>,
pub channel: Option<&'a str>,
pub timestamp: Option<Timestamp>,
}Fields§
§name: &'a strReaction (emoji) name.
file: Option<&'a str>File to add reaction to.
file_comment: Option<&'a str>File comment to add reaction to.
channel: Option<&'a str>Channel where the message to add reaction to was posted.
timestamp: Option<Timestamp>Timestamp of the message to add reaction to.
Trait Implementations§
Source§impl<'a> Clone for AddRequest<'a>
impl<'a> Clone for AddRequest<'a>
Source§fn clone(&self) -> AddRequest<'a>
fn clone(&self) -> AddRequest<'a>
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 moreSource§impl<'a> Debug for AddRequest<'a>
impl<'a> Debug for AddRequest<'a>
Source§impl<'a> Default for AddRequest<'a>
impl<'a> Default for AddRequest<'a>
Source§fn default() -> AddRequest<'a>
fn default() -> AddRequest<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for AddRequest<'a>
impl<'a> RefUnwindSafe for AddRequest<'a>
impl<'a> Send for AddRequest<'a>
impl<'a> Sync for AddRequest<'a>
impl<'a> Unpin for AddRequest<'a>
impl<'a> UnsafeUnpin for AddRequest<'a>
impl<'a> UnwindSafe for AddRequest<'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