pub struct PowerplayEvent {
pub power: String,
pub rank: u8,
pub merits: u32,
pub votes: Option<u32>,
pub time_pledged: u32,
}
Fields§
§power: String
§rank: u8
§merits: u32
§votes: Option<u32>
§time_pledged: u32
Trait Implementations§
Source§impl Clone for PowerplayEvent
impl Clone for PowerplayEvent
Source§fn clone(&self) -> PowerplayEvent
fn clone(&self) -> PowerplayEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PowerplayEvent
impl Debug for PowerplayEvent
Source§impl<'de> Deserialize<'de> for PowerplayEvent
impl<'de> Deserialize<'de> for PowerplayEvent
Source§fn 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
Source§impl PartialEq for PowerplayEvent
impl PartialEq for PowerplayEvent
Source§impl Serialize for PowerplayEvent
impl Serialize for PowerplayEvent
impl StructuralPartialEq for PowerplayEvent
Auto Trait Implementations§
impl Freeze for PowerplayEvent
impl RefUnwindSafe for PowerplayEvent
impl Send for PowerplayEvent
impl Sync for PowerplayEvent
impl Unpin for PowerplayEvent
impl UnwindSafe for PowerplayEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more