pub struct ActiveVote {
pub voter: String,
pub rshares: String,
pub percent: i16,
pub reputation: Option<String>,
pub extra: BTreeMap<String, Value>,
}Fields§
§voter: String§percent: i16§reputation: Option<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ActiveVote
impl Clone for ActiveVote
Source§fn clone(&self) -> ActiveVote
fn clone(&self) -> ActiveVote
Returns a duplicate 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 ActiveVote
impl Debug for ActiveVote
Source§impl Default for ActiveVote
impl Default for ActiveVote
Source§fn default() -> ActiveVote
fn default() -> ActiveVote
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActiveVote
impl<'de> Deserialize<'de> for ActiveVote
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 ActiveVote
impl PartialEq for ActiveVote
Source§impl Serialize for ActiveVote
impl Serialize for ActiveVote
impl StructuralPartialEq for ActiveVote
Auto Trait Implementations§
impl Freeze for ActiveVote
impl RefUnwindSafe for ActiveVote
impl Send for ActiveVote
impl Sync for ActiveVote
impl Unpin for ActiveVote
impl UnsafeUnpin for ActiveVote
impl UnwindSafe for ActiveVote
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