pub struct BitsVotingData {
pub is_enabled: bool,
pub amount_per_vote: u32,
}Fields§
§is_enabled: bool§amount_per_vote: u32Trait Implementations§
Source§impl Clone for BitsVotingData
impl Clone for BitsVotingData
Source§fn clone(&self) -> BitsVotingData
fn clone(&self) -> BitsVotingData
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 BitsVotingData
impl Debug for BitsVotingData
Source§impl<'de> Deserialize<'de> for BitsVotingData
impl<'de> Deserialize<'de> for BitsVotingData
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
Auto Trait Implementations§
impl Freeze for BitsVotingData
impl RefUnwindSafe for BitsVotingData
impl Send for BitsVotingData
impl Sync for BitsVotingData
impl Unpin for BitsVotingData
impl UnwindSafe for BitsVotingData
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