[−][src]Struct yt_api::search::SearchList
request struct for the search endpoint
Methods
impl SearchList[src]
pub fn builder(
) -> TypedBuilder_BuilderFor_SearchList<(), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ()>[src]
) -> TypedBuilder_BuilderFor_SearchList<(), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ()>
Create a builder for building SearchList.
On the builder, call .key(...), .part(...)(optional), .for_content_owner(...)(optional), .for_developer(...)(optional), .for_mine(...)(optional), .related_to_video_id(...)(optional), .channel_id(...)(optional), .channel_type(...)(optional), .event_type(...)(optional), .location(...)(optional), .location_radius(...)(optional), .max_results(...)(optional), .on_behalf_of_content_owner(...)(optional), .order(...)(optional), .page_token(...)(optional), .published_after(...)(optional), .published_before(...)(optional), .q(...)(optional), .region_code(...)(optional), .relevance_language(...)(optional), .safe_search(...)(optional), .topic_id(...)(optional), .item_type(...)(optional), .video_caption(...)(optional), .video_category_id(...)(optional), .video_definition(...)(optional), .video_dimension(...)(optional), .video_embeddable(...)(optional), .video_license(...)(optional), .video_syndicated(...)(optional), .video_type(...)(optional) to set the values of the fields(they accept Into values).
Finally, call .build() to create the instance of SearchList.
impl SearchList[src]
pub async fn perform<'_>(&'_ self) -> Result<SearchListResponse, Error>[src]
shorthand to perform the search with implicit reqwest::async::Client creation
pub async fn perform_with<'_>(
&'_ self,
client: Client
) -> Result<SearchListResponse, Error>[src]
&'_ self,
client: Client
) -> Result<SearchListResponse, Error>
searches for a video, channel or playlist
Trait Implementations
impl Clone for SearchList[src]
fn clone(&self) -> SearchList[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for SearchList[src]
impl Serialize for SearchList[src]
Auto Trait Implementations
impl Sync for SearchList
impl Send for SearchList
impl Unpin for SearchList
impl RefUnwindSafe for SearchList
impl UnwindSafe for SearchList
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,