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