pub struct SetChatDescriptionParams {
pub chat_id: ChatId,
pub description: Option<String>,
}Fields§
§chat_id: ChatId§description: Option<String>Implementations§
Source§impl SetChatDescriptionParams
impl SetChatDescriptionParams
Sourcepub fn builder() -> SetChatDescriptionParamsBuilder
pub fn builder() -> SetChatDescriptionParamsBuilder
Create an instance of SetChatDescriptionParams using the builder syntax
Trait Implementations§
Source§impl Clone for SetChatDescriptionParams
impl Clone for SetChatDescriptionParams
Source§fn clone(&self) -> SetChatDescriptionParams
fn clone(&self) -> SetChatDescriptionParams
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 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
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 UnsafeUnpin 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