Struct twitch_api::pubsub::hypetrain::HypeTrainProgress
source · [−]#[non_exhaustive]pub struct HypeTrainProgress {
pub goal: i64,
pub level: Level,
pub remaining_seconds: i64,
pub total: i64,
pub value: i64,
}
Available on crate features
pubsub
and unsupported
only.Expand description
Progress of hype train
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.goal: i64
Participation points needed in this level
level: Level
Current level
remaining_seconds: i64
Time left
total: i64
Current amassed participation points in this level
value: i64
Current total amassed participation points in all levels
Trait Implementations
sourceimpl Clone for HypeTrainProgress
impl Clone for HypeTrainProgress
sourcefn clone(&self) -> HypeTrainProgress
fn clone(&self) -> HypeTrainProgress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HypeTrainProgress
impl Debug for HypeTrainProgress
sourceimpl<'de> Deserialize<'de> for HypeTrainProgress
impl<'de> Deserialize<'de> for HypeTrainProgress
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<HypeTrainProgress> for HypeTrainProgress
impl PartialEq<HypeTrainProgress> for HypeTrainProgress
sourcefn eq(&self, other: &HypeTrainProgress) -> bool
fn eq(&self, other: &HypeTrainProgress) -> bool
sourceimpl Serialize for HypeTrainProgress
impl Serialize for HypeTrainProgress
impl Eq for HypeTrainProgress
impl StructuralEq for HypeTrainProgress
impl StructuralPartialEq for HypeTrainProgress
Auto Trait Implementations
impl RefUnwindSafe for HypeTrainProgress
impl Send for HypeTrainProgress
impl Sync for HypeTrainProgress
impl Unpin for HypeTrainProgress
impl UnwindSafe for HypeTrainProgress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.