pub struct GoogleSearchTenorV2RegisterShareRequest {Show 13 fields
pub anon_id: Option<String>,
pub apirefid: Option<String>,
pub appversion: Option<String>,
pub client_key: Option<String>,
pub component: Option<String>,
pub country: Option<String>,
pub id: Option<u64>,
pub index: Option<i64>,
pub locale: Option<String>,
pub multi: Option<i64>,
pub q: Option<String>,
pub result_token: Option<String>,
pub searchfilter: Option<String>,
}Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- registershare (request)
Fields§
§anon_id: Option<String>Pseudonymous user id tied to a client installation on a user’s device.
apirefid: Option<String>Used as a session/journey identifier for client events.
appversion: Option<String>Client application version, e.g., “3.1”.
client_key: Option<String>Client application identifier, e.g., “gboard”.
component: Option<String>Client-specific. UI component where the share was initiated.
country: Option<String>User’s location in ISO 3166-1 alpha-2 code, e.g., “CA”, “GB”.
id: Option<u64>Post id (pid) of the GIF_OBJECT shared.
index: Option<i64>Position of the shared post in the search results list, starting at 0 for the first result. If the share did not result from the user clicking on a result returned by the v2/search endpoint, this value should be -1 to indicate that there is no meaningful index.
locale: Option<String>User’s preferred locale as BCP 47 language tag, e.g. “en”, “en-US”. Note that this is not dependent on the user’s current location.
multi: Option<i64>Number of people this post was shared to.
q: Option<String>The query that led to this share, if any.
result_token: Option<String>Result token pulled from the result in the SearchPostsResponse.
searchfilter: Option<String>Search filter string used in the search query that led to the share. An empty search filter string will default to ‘-static,-sticker’ and the string ‘none’ will apply no search filter.
Trait Implementations§
Source§fn clone(&self) -> GoogleSearchTenorV2RegisterShareRequest
fn clone(&self) -> GoogleSearchTenorV2RegisterShareRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§fn default() -> GoogleSearchTenorV2RegisterShareRequest
fn default() -> GoogleSearchTenorV2RegisterShareRequest
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>,
Auto Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more