pub enum CatalogEntry {
Public {
public_id: Vec<u8>,
uri: Vec<u8>,
},
System {
system_id: Vec<u8>,
uri: Vec<u8>,
},
RewriteSystem {
prefix: Vec<u8>,
rewrite: Vec<u8>,
},
RewriteURI {
prefix: Vec<u8>,
rewrite: Vec<u8>,
},
DelegatePublic {
prefix: Vec<u8>,
catalog: Vec<u8>,
},
DelegateSystem {
prefix: Vec<u8>,
catalog: Vec<u8>,
},
DelegateURI {
prefix: Vec<u8>,
catalog: Vec<u8>,
},
NextCatalog {
catalog: Vec<u8>,
},
}Expand description
A single catalog entry.
Variants§
Public
<public publicId="..." uri="..."/>
Fields
System
<system systemId="..." uri="..."/>
Fields
RewriteSystem
<rewriteSystem systemIdStartString="..." rewritePrefix="..."/>
Fields
RewriteURI
<rewriteURI uriStartString="..." rewritePrefix="..."/>
Fields
DelegatePublic
<delegatePublic publicIdStartString="..." catalog="..."/>
Fields
DelegateSystem
<delegateSystem systemIdStartString="..." catalog="..."/>
Fields
DelegateURI
<delegateURI uriStartString="..." catalog="..."/>
Fields
NextCatalog
<nextCatalog catalog="..."/>
Trait Implementations§
Source§impl Clone for CatalogEntry
impl Clone for CatalogEntry
Source§fn clone(&self) -> CatalogEntry
fn clone(&self) -> CatalogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CatalogEntry
impl RefUnwindSafe for CatalogEntry
impl Send for CatalogEntry
impl Sync for CatalogEntry
impl Unpin for CatalogEntry
impl UnsafeUnpin for CatalogEntry
impl UnwindSafe for CatalogEntry
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