pub struct ProxyTarget {
pub file: String,
pub mime: Option<String>,
}Expand description
What an EpcExternalPartReference stands for.
Two things, not one: the older EnergyML form keeps the file name in the
proxy’s .rels and the MIME type on the proxy object, so resolving a
proxy has to yield both or the format is lost and every external file is
assumed to be HDF5.
Fields§
§file: StringThe file the proxy names.
mime: Option<String>The MIME type the proxy declares, when it declares a usable one.
Implementations§
Trait Implementations§
Source§impl Clone for ProxyTarget
impl Clone for ProxyTarget
Source§impl Debug for ProxyTarget
impl Debug for ProxyTarget
Source§impl Default for ProxyTarget
impl Default for ProxyTarget
impl Eq for ProxyTarget
Source§impl PartialEq for ProxyTarget
impl PartialEq for ProxyTarget
impl StructuralPartialEq for ProxyTarget
Auto Trait Implementations§
impl Freeze for ProxyTarget
impl RefUnwindSafe for ProxyTarget
impl Send for ProxyTarget
impl Sync for ProxyTarget
impl Unpin for ProxyTarget
impl UnsafeUnpin for ProxyTarget
impl UnwindSafe for ProxyTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.