pub struct CandidateId(pub String);
Expand description
An identifier for a candidate.
Tuple Fields§
§0: String
Trait Implementations§
Source§impl AsXmlText for CandidateId
impl AsXmlText for CandidateId
Source§impl Clone for CandidateId
impl Clone for CandidateId
Source§fn clone(&self) -> CandidateId
fn clone(&self) -> CandidateId
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 CandidateId
impl Debug for CandidateId
Source§impl FromStr for CandidateId
impl FromStr for CandidateId
Source§impl FromXmlText for CandidateId
impl FromXmlText for CandidateId
Source§fn from_xml_text(s: String) -> Result<CandidateId, Error>
fn from_xml_text(s: String) -> Result<CandidateId, Error>
Convert the given XML text to a value.
Source§impl Hash for CandidateId
impl Hash for CandidateId
Source§impl IntoAttributeValue for CandidateId
impl IntoAttributeValue for CandidateId
Source§fn into_attribute_value(self) -> Option<String>
fn into_attribute_value(self) -> Option<String>
Turns this into an attribute string, or None if it shouldn’t be added.
Source§impl PartialEq for CandidateId
impl PartialEq for CandidateId
impl Eq for CandidateId
impl StructuralPartialEq for CandidateId
Auto Trait Implementations§
impl Freeze for CandidateId
impl RefUnwindSafe for CandidateId
impl Send for CandidateId
impl Sync for CandidateId
impl Unpin for CandidateId
impl UnwindSafe for CandidateId
Blanket Implementations§
Source§impl<T> AsOptionalXmlText for Twhere
T: AsXmlText,
impl<T> AsOptionalXmlText for Twhere
T: AsXmlText,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)