pub struct EmbeddedFile {
pub owner: EmbeddedFileOwner,
pub name: String,
pub file_type: String,
pub checksum: Option<String>,
pub data_presence: EmbeddedDataPresence,
pub encoded_data_bytes: usize,
pub source_range: Range<usize>,
}Expand description
Metadata for one source-backed embedded resource.
Fields§
§owner: EmbeddedFileOwner§name: String§file_type: String§checksum: Option<String>§data_presence: EmbeddedDataPresence§encoded_data_bytes: usize§source_range: Range<usize>Trait Implementations§
Source§impl Clone for EmbeddedFile
impl Clone for EmbeddedFile
Source§fn clone(&self) -> EmbeddedFile
fn clone(&self) -> EmbeddedFile
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 moreSource§impl Debug for EmbeddedFile
impl Debug for EmbeddedFile
impl Eq for EmbeddedFile
Source§impl PartialEq for EmbeddedFile
impl PartialEq for EmbeddedFile
impl StructuralPartialEq for EmbeddedFile
Auto Trait Implementations§
impl Freeze for EmbeddedFile
impl RefUnwindSafe for EmbeddedFile
impl Send for EmbeddedFile
impl Sync for EmbeddedFile
impl Unpin for EmbeddedFile
impl UnsafeUnpin for EmbeddedFile
impl UnwindSafe for EmbeddedFile
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.