pub struct ContextEntry {
pub name: String,
pub mode: u32,
pub bytes: Vec<u8>,
}Expand description
One file of a build context: its path relative to the context root, its mode, and its bytes.
Fields§
§name: StringThe path relative to the context root, /-separated, which is also its zip entry name.
mode: u320o755 when the file carries any execute bit, 0o644 otherwise.
bytes: Vec<u8>Trait Implementations§
Source§impl Clone for ContextEntry
impl Clone for ContextEntry
Source§impl Debug for ContextEntry
impl Debug for ContextEntry
impl Eq for ContextEntry
Source§impl PartialEq for ContextEntry
impl PartialEq for ContextEntry
impl StructuralPartialEq for ContextEntry
Auto Trait Implementations§
impl Freeze for ContextEntry
impl RefUnwindSafe for ContextEntry
impl Send for ContextEntry
impl Sync for ContextEntry
impl Unpin for ContextEntry
impl UnsafeUnpin for ContextEntry
impl UnwindSafe for ContextEntry
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.