Struct yt_api::search::SearchList[][src]

pub struct SearchList { /* fields omitted */ }

request struct for the search endpoint

Implementations

impl SearchList[src]

#[must_use]pub fn new(key: ApiKey) -> Self[src]

create struct with an ApiKey

#[must_use]pub fn for_content_owner(self) -> Self[src]

#[must_use]pub fn for_developer(self) -> Self[src]

#[must_use]pub fn for_mine(self) -> Self[src]

#[must_use]pub fn related_to_video_id(self, related_to_video_id: impl Into<String>) -> Self[src]

#[must_use]pub fn channel_id(self, channel_id: impl Into<String>) -> Self[src]

#[must_use]pub fn channel_type(self, channel_type: impl Into<ChannelType>) -> Self[src]

#[must_use]pub fn event_type(self, event_type: impl Into<EventType>) -> Self[src]

#[must_use]pub fn location(self, location: impl Into<VideoLocation>) -> Self[src]

#[must_use]pub fn location_radius(self, location_radius: impl Into<String>) -> Self[src]

#[must_use]pub fn max_results(self, max_results: impl Into<u8>) -> Self[src]

#[must_use]pub fn on_behalf_of_content_owner(
    self,
    on_behalf_of_content_owner: impl Into<String>
) -> Self
[src]

#[must_use]pub fn order(self, order: impl Into<Order>) -> Self[src]

#[must_use]pub fn page_token(self, page_token: impl Into<String>) -> Self[src]

#[must_use]pub fn published_after(self, published_after: impl Into<DateTime<Utc>>) -> Self[src]

#[must_use]pub fn published_before(
    self,
    published_before: impl Into<DateTime<Utc>>
) -> Self
[src]

#[must_use]pub fn q(self, q: impl Into<String>) -> Self[src]

#[must_use]pub fn region_code(self, region_code: impl Into<String>) -> Self[src]

#[must_use]pub fn relevance_language(self, relevance_language: impl Into<String>) -> Self[src]

#[must_use]pub fn topic_id(self, topic_id: impl Into<String>) -> Self[src]

#[must_use]pub fn item_type(self, item_type: impl Into<ItemType>) -> Self[src]

#[must_use]pub fn video_caption(self, video_caption: impl Into<String>) -> Self[src]

#[must_use]pub fn video_category_id(self, video_category_id: impl Into<String>) -> Self[src]

#[must_use]pub fn video_definition(
    self,
    video_definition: impl Into<VideoDefinition>
) -> Self
[src]

#[must_use]pub fn video_dimension(self, video_dimension: impl Into<VideoDimension>) -> Self[src]

#[must_use]pub fn video_embeddable(self) -> Self[src]

#[must_use]pub fn video_license(self, video_license: impl Into<VideoLicense>) -> Self[src]

#[must_use]pub fn video_syndicated(self) -> Self[src]

#[must_use]pub fn video_type(self, video_type: impl Into<VideoType>) -> Self[src]

Trait Implementations

impl Future for SearchList[src]

type Output = Result<Response, Error>

The type of value produced on completion.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FutureExt for T where
    T: Future + ?Sized

impl<F> FutureExt for F where
    F: Future + ?Sized

impl<T> FutureExt for T where
    T: Future + ?Sized

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F> IntoFuture for F where
    F: Future
[src]

type Output = <F as Future>::Output

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

type Future = F

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]