Struct bird_chat::component::ScoreComponent
source · [−]pub struct ScoreComponent {
pub score: Score,
pub base: BaseComponent,
}Fields
score: Scorebase: BaseComponentImplementations
sourceimpl ScoreComponent
impl ScoreComponent
sourceimpl ScoreComponent
impl ScoreComponent
Trait Implementations
sourceimpl Clone for ScoreComponent
impl Clone for ScoreComponent
sourcefn clone(&self) -> ScoreComponent
fn clone(&self) -> ScoreComponent
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 more
sourceimpl Component for ScoreComponent
impl Component for ScoreComponent
fn get_base(&self) -> &BaseComponent
sourceimpl Debug for ScoreComponent
impl Debug for ScoreComponent
sourceimpl<'de> Deserialize<'de> for ScoreComponent
impl<'de> Deserialize<'de> for ScoreComponent
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 From<ScoreComponent> for ComponentType
impl From<ScoreComponent> for ComponentType
sourcefn from(component: ScoreComponent) -> Self
fn from(component: ScoreComponent) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ScoreComponent> for ScoreComponent
impl PartialEq<ScoreComponent> for ScoreComponent
sourcefn eq(&self, other: &ScoreComponent) -> bool
fn eq(&self, other: &ScoreComponent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ScoreComponent) -> bool
fn ne(&self, other: &ScoreComponent) -> bool
This method tests for !=.
sourceimpl Serialize for ScoreComponent
impl Serialize for ScoreComponent
impl StructuralPartialEq for ScoreComponent
Auto Trait Implementations
impl RefUnwindSafe for ScoreComponent
impl Send for ScoreComponent
impl Sync for ScoreComponent
impl Unpin for ScoreComponent
impl UnwindSafe for ScoreComponent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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