Struct google_youtube3::api::SearchResult
source · pub struct SearchResult {
pub etag: Option<String>,
pub id: Option<ResourceId>,
pub kind: Option<String>,
pub snippet: Option<SearchResultSnippet>,
}
Expand description
A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.
This type is not used in any activity, and only used as part of another schema.
Fields§
§etag: Option<String>
Etag of this resource.
id: Option<ResourceId>
The id object contains information that can be used to uniquely identify the resource that matches the search request.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “youtube#searchResult”.
snippet: Option<SearchResultSnippet>
The snippet object contains basic details about a search result, such as its title or description. For example, if the search result is a video, then the title will be the video’s title and the description will be the video’s description.
Trait Implementations§
source§impl Clone for SearchResult
impl Clone for SearchResult
source§fn clone(&self) -> SearchResult
fn clone(&self) -> SearchResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more