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