pub struct UpdateChatInfoRequest {
pub chat_id: InlineId,
pub title: Option<String>,
pub emoji: Option<String>,
}Expand description
Request to update mutable Inline chat metadata.
None leaves a field unchanged. An empty emoji clears the current icon.
Fields§
§chat_id: InlineIdInline chat ID.
title: Option<String>Replacement title, when changing it.
emoji: Option<String>Replacement emoji, or an empty string to clear it.
Trait Implementations§
Source§impl Clone for UpdateChatInfoRequest
impl Clone for UpdateChatInfoRequest
Source§fn clone(&self) -> UpdateChatInfoRequest
fn clone(&self) -> UpdateChatInfoRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateChatInfoRequest
impl Debug for UpdateChatInfoRequest
Source§impl<'de> Deserialize<'de> for UpdateChatInfoRequest
impl<'de> Deserialize<'de> for UpdateChatInfoRequest
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
impl Eq for UpdateChatInfoRequest
Source§impl PartialEq for UpdateChatInfoRequest
impl PartialEq for UpdateChatInfoRequest
Source§impl Serialize for UpdateChatInfoRequest
impl Serialize for UpdateChatInfoRequest
impl StructuralPartialEq for UpdateChatInfoRequest
Auto Trait Implementations§
impl Freeze for UpdateChatInfoRequest
impl RefUnwindSafe for UpdateChatInfoRequest
impl Send for UpdateChatInfoRequest
impl Sync for UpdateChatInfoRequest
impl Unpin for UpdateChatInfoRequest
impl UnsafeUnpin for UpdateChatInfoRequest
impl UnwindSafe for UpdateChatInfoRequest
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