pub struct MessageCopyOptions { /* private fields */ }
Expand description
Options to be used when a message content is copied without reference to the original sender. Service messages and messageInvoice can’t be copied
Implementations§
Trait Implementations§
Source§impl AsRef<MessageCopyOptions> for MessageCopyOptions
impl AsRef<MessageCopyOptions> for MessageCopyOptions
Source§fn as_ref(&self) -> &MessageCopyOptions
fn as_ref(&self) -> &MessageCopyOptions
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for MessageCopyOptions
impl Clone for MessageCopyOptions
Source§fn clone(&self) -> MessageCopyOptions
fn clone(&self) -> MessageCopyOptions
Returns a copy 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 MessageCopyOptions
impl Debug for MessageCopyOptions
Source§impl Default for MessageCopyOptions
impl Default for MessageCopyOptions
Source§fn default() -> MessageCopyOptions
fn default() -> MessageCopyOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageCopyOptions
impl<'de> Deserialize<'de> for MessageCopyOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MessageCopyOptions
impl RefUnwindSafe for MessageCopyOptions
impl Send for MessageCopyOptions
impl Sync for MessageCopyOptions
impl Unpin for MessageCopyOptions
impl UnwindSafe for MessageCopyOptions
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