pub struct ElectionId(/* private fields */);Expand description
A string of type ElectionId as defined in the EML_NL specification
Implementations§
Trait Implementations§
Source§impl Clone for ElectionId
impl Clone for ElectionId
Source§fn clone(&self) -> ElectionId
fn clone(&self) -> ElectionId
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 ElectionId
impl Debug for ElectionId
Source§impl Hash for ElectionId
impl Hash for ElectionId
Source§impl PartialEq for ElectionId
impl PartialEq for ElectionId
Source§impl StringValueData for ElectionId
impl StringValueData for ElectionId
Source§type Error = InvalidElectionIdError
type Error = InvalidElectionIdError
The error type returned when parsing the value from a string fails.
Source§fn parse_from_str(s: &str) -> Result<Self, Self::Error>where
Self: Sized,
fn parse_from_str(s: &str) -> Result<Self, Self::Error>where
Self: Sized,
Parse the value from a string.
Source§fn to_raw_value(&self) -> String
fn to_raw_value(&self) -> String
Convert the value to its raw string representation.
impl Eq for ElectionId
impl StructuralPartialEq for ElectionId
Auto Trait Implementations§
impl Freeze for ElectionId
impl RefUnwindSafe for ElectionId
impl Send for ElectionId
impl Sync for ElectionId
impl Unpin for ElectionId
impl UnsafeUnpin for ElectionId
impl UnwindSafe for ElectionId
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