pub struct AuthoritativeFileBytes {
pub entry: AuthoritativePathEntry,
pub bytes: Vec<u8>,
}Expand description
File bytes plus the metadata entry they came from.
Fields§
§entry: AuthoritativePathEntryAuthoritative metadata for the file that was read.
bytes: Vec<u8>Validated file bytes.
Trait Implementations§
Source§impl Clone for AuthoritativeFileBytes
impl Clone for AuthoritativeFileBytes
Source§fn clone(&self) -> AuthoritativeFileBytes
fn clone(&self) -> AuthoritativeFileBytes
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 AuthoritativeFileBytes
impl Debug for AuthoritativeFileBytes
Source§impl<'de> Deserialize<'de> for AuthoritativeFileBytes
impl<'de> Deserialize<'de> for AuthoritativeFileBytes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AuthoritativeFileBytes
Source§impl PartialEq for AuthoritativeFileBytes
impl PartialEq for AuthoritativeFileBytes
Source§impl Serialize for AuthoritativeFileBytes
impl Serialize for AuthoritativeFileBytes
impl StructuralPartialEq for AuthoritativeFileBytes
Auto Trait Implementations§
impl Freeze for AuthoritativeFileBytes
impl RefUnwindSafe for AuthoritativeFileBytes
impl Send for AuthoritativeFileBytes
impl Sync for AuthoritativeFileBytes
impl Unpin for AuthoritativeFileBytes
impl UnsafeUnpin for AuthoritativeFileBytes
impl UnwindSafe for AuthoritativeFileBytes
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