pub struct EntryMetadata { /* private fields */ }Expand description
Minimal regular-file metadata accepted by Builder::add_entry.
Implementations§
Source§impl EntryMetadata
impl EntryMetadata
Sourcepub fn executable(self, executable: bool) -> EntryMetadata
pub fn executable(self, executable: bool) -> EntryMetadata
Configures whether the regular file carries executable intent.
Sourcepub fn is_executable(self) -> bool
pub fn is_executable(self) -> bool
Returns whether this entry carries executable intent.
Trait Implementations§
Source§impl Clone for EntryMetadata
impl Clone for EntryMetadata
Source§fn clone(&self) -> EntryMetadata
fn clone(&self) -> EntryMetadata
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 moreimpl Copy for EntryMetadata
Source§impl Debug for EntryMetadata
impl Debug for EntryMetadata
Source§impl Default for EntryMetadata
impl Default for EntryMetadata
Source§fn default() -> EntryMetadata
fn default() -> EntryMetadata
Returns the “default value” for a type. Read more
impl Eq for EntryMetadata
Source§impl PartialEq for EntryMetadata
impl PartialEq for EntryMetadata
Source§fn eq(&self, other: &EntryMetadata) -> bool
fn eq(&self, other: &EntryMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntryMetadata
Auto Trait Implementations§
impl Freeze for EntryMetadata
impl RefUnwindSafe for EntryMetadata
impl Send for EntryMetadata
impl Sync for EntryMetadata
impl Unpin for EntryMetadata
impl UnsafeUnpin for EntryMetadata
impl UnwindSafe for EntryMetadata
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