pub struct LandedVote {
pub latency: u8,
pub lockout: Lockout,
}
Fields§
§latency: u8
§lockout: Lockout
Implementations§
Source§impl LandedVote
impl LandedVote
Trait Implementations§
Source§impl Clone for LandedVote
impl Clone for LandedVote
Source§fn clone(&self) -> LandedVote
fn clone(&self) -> LandedVote
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 LandedVote
impl Debug for LandedVote
Source§impl Default for LandedVote
impl Default for LandedVote
Source§fn default() -> LandedVote
fn default() -> LandedVote
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LandedVote
impl<'de> Deserialize<'de> for LandedVote
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 From<LandedVote> for Lockout
impl From<LandedVote> for Lockout
Source§fn from(landed_vote: LandedVote) -> Self
fn from(landed_vote: LandedVote) -> Self
Converts to this type from the input type.
Source§impl From<Lockout> for LandedVote
impl From<Lockout> for LandedVote
Source§impl PartialEq for LandedVote
impl PartialEq for LandedVote
Source§impl Serialize for LandedVote
impl Serialize for LandedVote
impl Copy for LandedVote
impl Eq for LandedVote
impl StructuralPartialEq for LandedVote
Auto Trait Implementations§
impl Freeze for LandedVote
impl RefUnwindSafe for LandedVote
impl Send for LandedVote
impl Sync for LandedVote
impl Unpin for LandedVote
impl UnwindSafe for LandedVote
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