Struct frankenstein::api_params::SetChatTitleParams
source · pub struct SetChatTitleParams {
pub chat_id: ChatId,
pub title: String,
}
Fields§
§chat_id: ChatId
§title: String
Implementations§
Trait Implementations§
source§impl Clone for SetChatTitleParams
impl Clone for SetChatTitleParams
source§fn clone(&self) -> SetChatTitleParams
fn clone(&self) -> SetChatTitleParams
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 SetChatTitleParams
impl Debug for SetChatTitleParams
source§impl<'de> Deserialize<'de> for SetChatTitleParams
impl<'de> Deserialize<'de> for SetChatTitleParams
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 PartialEq for SetChatTitleParams
impl PartialEq for SetChatTitleParams
source§fn eq(&self, other: &SetChatTitleParams) -> bool
fn eq(&self, other: &SetChatTitleParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetChatTitleParams
impl Serialize for SetChatTitleParams
impl Eq for SetChatTitleParams
impl StructuralPartialEq for SetChatTitleParams
Auto Trait Implementations§
impl Freeze for SetChatTitleParams
impl RefUnwindSafe for SetChatTitleParams
impl Send for SetChatTitleParams
impl Sync for SetChatTitleParams
impl Unpin for SetChatTitleParams
impl UnwindSafe for SetChatTitleParams
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