pub enum ExternalID {
System(String),
Public {
pubid: String,
system_identifier: Box<ExternalID>,
},
}
Variants§
Implementations§
Source§impl ExternalID
impl ExternalID
Trait Implementations§
Source§impl Clone for ExternalID
impl Clone for ExternalID
Source§fn clone(&self) -> ExternalID
fn clone(&self) -> ExternalID
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 ExternalID
impl Debug for ExternalID
Source§impl<'a> Parse<'a> for ExternalID
impl<'a> Parse<'a> for ExternalID
type Args = ()
type Output = Result<(&'a str, ExternalID), Err<Error>>
fn parse(input: &'a str, _args: Self::Args) -> Self::Output
fn is_char(c: char) -> bool
fn parse_char(input: &str) -> IResult<&str, char>
fn is_whitespace(c: char) -> bool
fn parse_multispace1(input: &str) -> IResult<&str, ()>
fn parse_multispace0(input: &str) -> IResult<&str, ()>
fn is_name_start_char(c: char) -> bool
fn is_name_char(c: char) -> bool
fn parse_name_char(input: &str) -> IResult<&str, char>
fn parse_name_start_char(input: &str) -> IResult<&str, char>
fn parse_nmtoken(input: &str) -> IResult<&str, String>
fn parse_nmtokens(input: &str) -> IResult<&str, Vec<String>>
fn parse_name(input: &str) -> IResult<&str, Name>
fn parse_names(input: &str) -> IResult<&str, Vec<Name>>
fn parse_eq(input: &str) -> IResult<&str, ()>
fn capture_span<O, F>( f: F, ) -> Box<dyn FnMut(&'a str) -> IResult<&'a str, (&'a str, O)> + 'a>
Source§impl PartialEq for ExternalID
impl PartialEq for ExternalID
impl Eq for ExternalID
impl StructuralPartialEq for ExternalID
Auto Trait Implementations§
impl Freeze for ExternalID
impl RefUnwindSafe for ExternalID
impl Send for ExternalID
impl Sync for ExternalID
impl Unpin for ExternalID
impl UnwindSafe for ExternalID
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