pub struct AffiliateTypeBot {
pub user_id: i64,
}Expand description
The affiliate is a bot owned by the current user
Fields§
§user_id: i64User identifier of the bot
Trait Implementations§
Source§impl Clone for AffiliateTypeBot
impl Clone for AffiliateTypeBot
Source§fn clone(&self) -> AffiliateTypeBot
fn clone(&self) -> AffiliateTypeBot
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 AffiliateTypeBot
impl Debug for AffiliateTypeBot
Source§impl Default for AffiliateTypeBot
impl Default for AffiliateTypeBot
Source§fn default() -> AffiliateTypeBot
fn default() -> AffiliateTypeBot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AffiliateTypeBot
impl<'de> Deserialize<'de> for AffiliateTypeBot
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 AffiliateTypeBot
impl PartialEq for AffiliateTypeBot
Source§impl Serialize for AffiliateTypeBot
impl Serialize for AffiliateTypeBot
impl StructuralPartialEq for AffiliateTypeBot
Auto Trait Implementations§
impl Freeze for AffiliateTypeBot
impl RefUnwindSafe for AffiliateTypeBot
impl Send for AffiliateTypeBot
impl Sync for AffiliateTypeBot
impl Unpin for AffiliateTypeBot
impl UnsafeUnpin for AffiliateTypeBot
impl UnwindSafe for AffiliateTypeBot
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