Enum twitch_api2::types::CommercialLength [−][src]
#[repr(u64)] #[non_exhaustive] pub enum CommercialLength { Length30, Length60, Length90, Length120, Length150, Length180, }
Length of the commercial in seconds
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
30s
60s
90s
120s
150s
180s
Trait Implementations
impl Clone for CommercialLength
[src]
impl Clone for CommercialLength
[src]fn clone(&self) -> CommercialLength
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for CommercialLength
[src]
impl<'de> Deserialize<'de> for CommercialLength
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Eq for CommercialLength
[src]
impl Eq for CommercialLength
[src]impl PartialEq<CommercialLength> for CommercialLength
[src]
impl PartialEq<CommercialLength> for CommercialLength
[src]impl Serialize for CommercialLength
[src]
impl Serialize for CommercialLength
[src]impl StructuralEq for CommercialLength
[src]
impl StructuralEq for CommercialLength
[src]impl StructuralPartialEq for CommercialLength
[src]
impl StructuralPartialEq for CommercialLength
[src]Auto Trait Implementations
impl RefUnwindSafe for CommercialLength
impl RefUnwindSafe for CommercialLength
impl Send for CommercialLength
impl Send for CommercialLength
impl Sync for CommercialLength
impl Sync for CommercialLength
impl Unpin for CommercialLength
impl Unpin for CommercialLength
impl UnwindSafe for CommercialLength
impl UnwindSafe for CommercialLength
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,