Struct botapi::gen_types::ForumTopicEdited
source · pub struct ForumTopicEdited { /* private fields */ }
Expand description
This object represents a service message about an edited forum topic.
Implementations§
source§impl ForumTopicEdited
impl ForumTopicEdited
pub fn noskip(self) -> NoSkipForumTopicEdited
source§impl ForumTopicEdited
impl ForumTopicEdited
pub fn new() -> Self
sourcepub fn get_name<'a>(&'a self) -> Option<Cow<'a, str>>
pub fn get_name<'a>(&'a self) -> Option<Cow<'a, str>>
Optional. New name of the topic, if it was edited
sourcepub fn get_name_ref<'a>(&'a self) -> Option<&'a str>
pub fn get_name_ref<'a>(&'a self) -> Option<&'a str>
Optional. New name of the topic, if it was edited
sourcepub fn get_icon_custom_emoji_id<'a>(&'a self) -> Option<Cow<'a, str>>
pub fn get_icon_custom_emoji_id<'a>(&'a self) -> Option<Cow<'a, str>>
Optional. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed
sourcepub fn get_icon_custom_emoji_id_ref<'a>(&'a self) -> Option<&'a str>
pub fn get_icon_custom_emoji_id_ref<'a>(&'a self) -> Option<&'a str>
Optional. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed
Trait Implementations§
source§impl Clone for ForumTopicEdited
impl Clone for ForumTopicEdited
source§fn clone(&self) -> ForumTopicEdited
fn clone(&self) -> ForumTopicEdited
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 ForumTopicEdited
impl Debug for ForumTopicEdited
source§impl Default for ForumTopicEdited
impl Default for ForumTopicEdited
source§fn default() -> ForumTopicEdited
fn default() -> ForumTopicEdited
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ForumTopicEdited
impl<'de> Deserialize<'de> for ForumTopicEdited
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
source§impl From<NoSkipForumTopicEdited> for ForumTopicEdited
impl From<NoSkipForumTopicEdited> for ForumTopicEdited
source§fn from(t: NoSkipForumTopicEdited) -> Self
fn from(t: NoSkipForumTopicEdited) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipForumTopicEdited> for ForumTopicEdited
impl Into<NoSkipForumTopicEdited> for ForumTopicEdited
source§fn into(self) -> NoSkipForumTopicEdited
fn into(self) -> NoSkipForumTopicEdited
Converts this type into the (usually inferred) input type.