#[non_exhaustive]pub struct EsiDfElectionType {
pub mod_based: bool,
pub preference: Option<EsiPreference>,
}Expand description
The df-election-type of an ESI.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mod_based: boolmod: the default modulo election.
preference: Option<EsiPreference>Trait Implementations§
Source§impl Clone for EsiDfElectionType
impl Clone for EsiDfElectionType
Source§impl Debug for EsiDfElectionType
impl Debug for EsiDfElectionType
Source§impl Default for EsiDfElectionType
impl Default for EsiDfElectionType
impl Eq for EsiDfElectionType
Source§impl PartialEq for EsiDfElectionType
impl PartialEq for EsiDfElectionType
impl StructuralPartialEq for EsiDfElectionType
Auto Trait Implementations§
impl Forget for EsiDfElectionType
impl Freeze for EsiDfElectionType
impl Move for EsiDfElectionType
impl RefUnwindSafe for EsiDfElectionType
impl Send for EsiDfElectionTypewhere
RawVecInner: Send,
impl Sync for EsiDfElectionTypewhere
RawVecInner: Sync,
impl Unpin for EsiDfElectionType
impl UnsafeUnpin for EsiDfElectionType
impl UnwindSafe for EsiDfElectionTypewhere
RawVecInner: UnwindSafe,
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