#[non_exhaustive]pub struct EsiPreference {
pub least: bool,
pub non_revertive: bool,
pub value: Option<String>,
}Expand description
The preference of df-election-type.
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.least: bool§non_revertive: bool§value: Option<String>Trait Implementations§
Source§impl Clone for EsiPreference
impl Clone for EsiPreference
Source§impl Debug for EsiPreference
impl Debug for EsiPreference
Source§impl Default for EsiPreference
impl Default for EsiPreference
impl Eq for EsiPreference
Source§impl PartialEq for EsiPreference
impl PartialEq for EsiPreference
impl StructuralPartialEq for EsiPreference
Auto Trait Implementations§
impl Forget for EsiPreference
impl Freeze for EsiPreference
impl Move for EsiPreference
impl RefUnwindSafe for EsiPreference
impl Send for EsiPreferencewhere
RawVecInner: Send,
impl Sync for EsiPreferencewhere
RawVecInner: Sync,
impl Unpin for EsiPreference
impl UnsafeUnpin for EsiPreference
impl UnwindSafe for EsiPreferencewhere
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