pub struct PortableScannedFile {
pub relative: String,
pub bytes: u64,
pub content_hash: Option<String>,
pub binary_checked: bool,
}Expand description
A selected file without host-local absolute paths or file identities.
Fields§
§relative: String§bytes: u64§content_hash: Option<String>§binary_checked: boolTrait Implementations§
Source§impl Clone for PortableScannedFile
impl Clone for PortableScannedFile
Source§fn clone(&self) -> PortableScannedFile
fn clone(&self) -> PortableScannedFile
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 PortableScannedFile
impl Debug for PortableScannedFile
impl Eq for PortableScannedFile
Source§impl From<&ScannedFile> for PortableScannedFile
impl From<&ScannedFile> for PortableScannedFile
Source§fn from(file: &ScannedFile) -> Self
fn from(file: &ScannedFile) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PortableScannedFile
impl PartialEq for PortableScannedFile
impl StructuralPartialEq for PortableScannedFile
Auto Trait Implementations§
impl Freeze for PortableScannedFile
impl RefUnwindSafe for PortableScannedFile
impl Send for PortableScannedFile
impl Sync for PortableScannedFile
impl Unpin for PortableScannedFile
impl UnsafeUnpin for PortableScannedFile
impl UnwindSafe for PortableScannedFile
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