pub struct MessageActionTopicCreate {
pub title_missing: bool,
pub title: String,
pub icon_color: i32,
pub icon_emoji_id: Option<i64>,
}Expand description
Generated from:
messageActionTopicCreate#d999256 flags:# title_missing:flags.1?true title:string icon_color:int icon_emoji_id:flags.0?long = MessageActionFields§
§title_missing: bool§title: String§icon_color: i32§icon_emoji_id: Option<i64>Trait Implementations§
Source§impl Clone for MessageActionTopicCreate
impl Clone for MessageActionTopicCreate
Source§fn clone(&self) -> MessageActionTopicCreate
fn clone(&self) -> MessageActionTopicCreate
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 MessageActionTopicCreate
impl Debug for MessageActionTopicCreate
Source§impl Deserializable for MessageActionTopicCreate
impl Deserializable for MessageActionTopicCreate
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<MessageActionTopicCreate> for MessageAction
impl From<MessageActionTopicCreate> for MessageAction
Source§fn from(x: MessageActionTopicCreate) -> Self
fn from(x: MessageActionTopicCreate) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionTopicCreate
impl Identifiable for MessageActionTopicCreate
Source§const CONSTRUCTOR_ID: u32 = 0x0d999256
const CONSTRUCTOR_ID: u32 = 0x0d999256
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageActionTopicCreate
impl PartialEq for MessageActionTopicCreate
Source§impl TryFrom<MessageAction> for MessageActionTopicCreate
impl TryFrom<MessageAction> for MessageActionTopicCreate
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionTopicCreate
Auto Trait Implementations§
impl Freeze for MessageActionTopicCreate
impl RefUnwindSafe for MessageActionTopicCreate
impl Send for MessageActionTopicCreate
impl Sync for MessageActionTopicCreate
impl Unpin for MessageActionTopicCreate
impl UnsafeUnpin for MessageActionTopicCreate
impl UnwindSafe for MessageActionTopicCreate
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