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