pub struct PackfileEntry {
pub hash: HashId,
pub offset: u64,
pub length: u64,
pub uncompressed_length: u64,
pub object_type: ObjectType,
}Fields§
§hash: HashId§offset: u64§length: u64§uncompressed_length: u64§object_type: ObjectTypeTrait Implementations§
Source§impl Clone for PackfileEntry
impl Clone for PackfileEntry
Source§fn clone(&self) -> PackfileEntry
fn clone(&self) -> PackfileEntry
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 PackfileEntry
impl Debug for PackfileEntry
Source§impl<'de> Deserialize<'de> for PackfileEntry
impl<'de> Deserialize<'de> for PackfileEntry
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
Auto Trait Implementations§
impl Freeze for PackfileEntry
impl RefUnwindSafe for PackfileEntry
impl Send for PackfileEntry
impl Sync for PackfileEntry
impl Unpin for PackfileEntry
impl UnsafeUnpin for PackfileEntry
impl UnwindSafe for PackfileEntry
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