pub struct SetChatMemberTagParams {
pub chat_id: ChatId,
pub user_id: u64,
pub tag: Option<String>,
}Fields§
§chat_id: ChatId§user_id: u64§tag: Option<String>Implementations§
Source§impl SetChatMemberTagParams
impl SetChatMemberTagParams
Sourcepub fn builder() -> SetChatMemberTagParamsBuilder
pub fn builder() -> SetChatMemberTagParamsBuilder
Create an instance of SetChatMemberTagParams using the builder syntax
Trait Implementations§
Source§impl Clone for SetChatMemberTagParams
impl Clone for SetChatMemberTagParams
Source§fn clone(&self) -> SetChatMemberTagParams
fn clone(&self) -> SetChatMemberTagParams
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 SetChatMemberTagParams
impl Debug for SetChatMemberTagParams
Source§impl<'de> Deserialize<'de> for SetChatMemberTagParams
impl<'de> Deserialize<'de> for SetChatMemberTagParams
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 SetChatMemberTagParams
impl PartialEq for SetChatMemberTagParams
Source§fn eq(&self, other: &SetChatMemberTagParams) -> bool
fn eq(&self, other: &SetChatMemberTagParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SetChatMemberTagParams
impl Serialize for SetChatMemberTagParams
impl Eq for SetChatMemberTagParams
impl StructuralPartialEq for SetChatMemberTagParams
Auto Trait Implementations§
impl Freeze for SetChatMemberTagParams
impl RefUnwindSafe for SetChatMemberTagParams
impl Send for SetChatMemberTagParams
impl Sync for SetChatMemberTagParams
impl Unpin for SetChatMemberTagParams
impl UnsafeUnpin for SetChatMemberTagParams
impl UnwindSafe for SetChatMemberTagParams
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