[−][src]Struct twitch_api2::helix::streams::get_streams::GetStreamsRequest
Query Parameters for Get Streams
Fields
after: Option<Cursor>
Cursor for forward pagination: tells the server where to start fetching the next set of results, in a multi-page response. The cursor value specified here is from the pagination response field of a prior query.
before: Option<String>
Cursor for backward pagination: tells the server where to start fetching the next set of results, in a multi-page response. The cursor value specified here is from the pagination response field of a prior query.
first: Option<usize>
Maximum number of objects to return. Maximum: 100. Default: 20.
game_id: Vec<String>
Returns streams broadcasting a specified game ID. You can specify up to 10 IDs.
language: Option<String>
Stream language. You can specify up to 100 languages.
user_id: Vec<String>
Returns streams broadcast by one or more specified user IDs. You can specify up to 100 IDs.
user_login: Vec<String>
Returns streams broadcast by one or more specified user login names. You can specify up to 100 names.
Implementations
impl GetStreamsRequest
[src]
pub fn builder() -> GetStreamsRequestBuilder<((), (), (), (), (), (), ())>
[src]
Create a builder for building GetStreamsRequest
.
On the builder, call .after(...)
(optional), .before(...)
(optional), .first(...)
(optional), .game_id(...)
(optional), .language(...)
(optional), .user_id(...)
(optional), .user_login(...)
(optional) to set the values of the fields (they accept Into
values).
Finally, call .build()
to create the instance of GetStreamsRequest
.
Trait Implementations
impl Clone for GetStreamsRequest
[src]
fn clone(&self) -> GetStreamsRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetStreamsRequest
[src]
impl<'de> Deserialize<'de> for GetStreamsRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Paginated for GetStreamsRequest
[src]
fn set_pagination(&mut self, cursor: Cursor)
[src]
impl PartialEq<GetStreamsRequest> for GetStreamsRequest
[src]
fn eq(&self, other: &GetStreamsRequest) -> bool
[src]
fn ne(&self, other: &GetStreamsRequest) -> bool
[src]
impl Request for GetStreamsRequest
[src]
type Response = GetStreams
Response type. twitch's response will deserialize to this.
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
fn query(&self) -> Result<String, Error>
[src]
const OPT_SCOPE: &'static [Scope]
[src]
impl RequestGet for GetStreamsRequest
[src]
impl Serialize for GetStreamsRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for GetStreamsRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetStreamsRequest
impl Send for GetStreamsRequest
impl Sync for GetStreamsRequest
impl Unpin for GetStreamsRequest
impl UnwindSafe for GetStreamsRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
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, 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,