pub struct LocalInclude {
pub path: String,
pub sha256: Option<String>,
pub argv: Vec<String>,
pub passthrough: bool,
}Expand description
Local include under the preferred jan directory (YAML subtree or script file).
Fields§
§path: String§sha256: Option<String>Optional integrity pin; verified when present.
argv: Vec<String>Interpreter prefix for script includes only (e.g. ["bash"]).
passthrough: boolPassthrough trailing CLI args for script includes only.
Implementations§
Trait Implementations§
Source§impl Clone for LocalInclude
impl Clone for LocalInclude
Source§fn clone(&self) -> LocalInclude
fn clone(&self) -> LocalInclude
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 LocalInclude
impl Debug for LocalInclude
impl Eq for LocalInclude
Source§impl PartialEq for LocalInclude
impl PartialEq for LocalInclude
impl StructuralPartialEq for LocalInclude
Auto Trait Implementations§
impl Freeze for LocalInclude
impl RefUnwindSafe for LocalInclude
impl Send for LocalInclude
impl Sync for LocalInclude
impl Unpin for LocalInclude
impl UnsafeUnpin for LocalInclude
impl UnwindSafe for LocalInclude
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.