pub struct AffiliateTypeChannel {
pub chat_id: i64,
}Expand description
The affiliate is a channel chat where the current user has can_post_messages administrator right
Fields§
§chat_id: i64Identifier of the channel chat
Trait Implementations§
Source§impl Clone for AffiliateTypeChannel
impl Clone for AffiliateTypeChannel
Source§fn clone(&self) -> AffiliateTypeChannel
fn clone(&self) -> AffiliateTypeChannel
Returns a duplicate 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 AffiliateTypeChannel
impl Debug for AffiliateTypeChannel
Source§impl Default for AffiliateTypeChannel
impl Default for AffiliateTypeChannel
Source§fn default() -> AffiliateTypeChannel
fn default() -> AffiliateTypeChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AffiliateTypeChannel
impl<'de> Deserialize<'de> for AffiliateTypeChannel
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 AffiliateTypeChannel
impl PartialEq for AffiliateTypeChannel
Source§impl Serialize for AffiliateTypeChannel
impl Serialize for AffiliateTypeChannel
impl StructuralPartialEq for AffiliateTypeChannel
Auto Trait Implementations§
impl Freeze for AffiliateTypeChannel
impl RefUnwindSafe for AffiliateTypeChannel
impl Send for AffiliateTypeChannel
impl Sync for AffiliateTypeChannel
impl Unpin for AffiliateTypeChannel
impl UnsafeUnpin for AffiliateTypeChannel
impl UnwindSafe for AffiliateTypeChannel
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