pub struct InternalLinkTypeChatAffiliateProgram {
pub username: String,
pub referrer: String,
}Expand description
The link is an affiliate program link. Call searchChatAffiliateProgram with the given username and referrer to process the link
Fields§
§username: StringUsername to be passed to searchChatAffiliateProgram
referrer: StringReferrer to be passed to searchChatAffiliateProgram
Trait Implementations§
Source§impl Clone for InternalLinkTypeChatAffiliateProgram
impl Clone for InternalLinkTypeChatAffiliateProgram
Source§fn clone(&self) -> InternalLinkTypeChatAffiliateProgram
fn clone(&self) -> InternalLinkTypeChatAffiliateProgram
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 Default for InternalLinkTypeChatAffiliateProgram
impl Default for InternalLinkTypeChatAffiliateProgram
Source§fn default() -> InternalLinkTypeChatAffiliateProgram
fn default() -> InternalLinkTypeChatAffiliateProgram
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypeChatAffiliateProgram
impl<'de> Deserialize<'de> for InternalLinkTypeChatAffiliateProgram
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 InternalLinkTypeChatAffiliateProgram
impl PartialEq for InternalLinkTypeChatAffiliateProgram
Source§fn eq(&self, other: &InternalLinkTypeChatAffiliateProgram) -> bool
fn eq(&self, other: &InternalLinkTypeChatAffiliateProgram) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InternalLinkTypeChatAffiliateProgram
Auto Trait Implementations§
impl Freeze for InternalLinkTypeChatAffiliateProgram
impl RefUnwindSafe for InternalLinkTypeChatAffiliateProgram
impl Send for InternalLinkTypeChatAffiliateProgram
impl Sync for InternalLinkTypeChatAffiliateProgram
impl Unpin for InternalLinkTypeChatAffiliateProgram
impl UnsafeUnpin for InternalLinkTypeChatAffiliateProgram
impl UnwindSafe for InternalLinkTypeChatAffiliateProgram
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