pub struct ExternalEntityRequest<'a> {
pub name: &'a str,
pub system_id: &'a str,
pub public_id: Option<&'a str>,
}Expand description
A request to resolve an external entity.
Passed to the EntityResolver callback when the parser encounters
a reference to an externally-declared entity (SYSTEM or PUBLIC).
Fields§
§name: &'a strThe entity name as declared in the DTD.
system_id: &'a strThe SYSTEM identifier (URI) from the entity declaration.
public_id: Option<&'a str>The PUBLIC identifier from the entity declaration, if any.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ExternalEntityRequest<'a>
impl<'a> RefUnwindSafe for ExternalEntityRequest<'a>
impl<'a> Send for ExternalEntityRequest<'a>
impl<'a> Sync for ExternalEntityRequest<'a>
impl<'a> Unpin for ExternalEntityRequest<'a>
impl<'a> UnsafeUnpin for ExternalEntityRequest<'a>
impl<'a> UnwindSafe for ExternalEntityRequest<'a>
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