pub struct MessageActionSetChatTheme {
pub theme: ChatTheme,
}Expand description
Generated from:
messageActionSetChatTheme#b91bbd3a theme:ChatTheme = MessageActionFields§
§theme: ChatThemeTrait Implementations§
Source§impl Clone for MessageActionSetChatTheme
impl Clone for MessageActionSetChatTheme
Source§fn clone(&self) -> MessageActionSetChatTheme
fn clone(&self) -> MessageActionSetChatTheme
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 MessageActionSetChatTheme
impl Debug for MessageActionSetChatTheme
Source§impl Deserializable for MessageActionSetChatTheme
impl Deserializable for MessageActionSetChatTheme
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<MessageActionSetChatTheme> for MessageAction
impl From<MessageActionSetChatTheme> for MessageAction
Source§fn from(x: MessageActionSetChatTheme) -> Self
fn from(x: MessageActionSetChatTheme) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionSetChatTheme
impl Identifiable for MessageActionSetChatTheme
Source§const CONSTRUCTOR_ID: u32 = 0xb91bbd3a
const CONSTRUCTOR_ID: u32 = 0xb91bbd3a
The constructor ID as specified in the TL schema.
Source§impl TryFrom<MessageAction> for MessageActionSetChatTheme
impl TryFrom<MessageAction> for MessageActionSetChatTheme
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionSetChatTheme
Auto Trait Implementations§
impl Freeze for MessageActionSetChatTheme
impl RefUnwindSafe for MessageActionSetChatTheme
impl Send for MessageActionSetChatTheme
impl Sync for MessageActionSetChatTheme
impl Unpin for MessageActionSetChatTheme
impl UnsafeUnpin for MessageActionSetChatTheme
impl UnwindSafe for MessageActionSetChatTheme
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