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<'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
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