pub struct IncludeEntry {
pub path: String,
}Expand description
A single include directive in a PolicyManifest.
Fields§
§path: StringPath to a .star file. @clash// prefix resolves to the embedded stdlib;
other paths are relative to the directory containing the policy file.
Trait Implementations§
Source§impl Clone for IncludeEntry
impl Clone for IncludeEntry
Source§fn clone(&self) -> IncludeEntry
fn clone(&self) -> IncludeEntry
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 IncludeEntry
impl Debug for IncludeEntry
Source§impl<'de> Deserialize<'de> for IncludeEntry
impl<'de> Deserialize<'de> for IncludeEntry
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 IncludeEntry
impl RefUnwindSafe for IncludeEntry
impl Send for IncludeEntry
impl Sync for IncludeEntry
impl Unpin for IncludeEntry
impl UnsafeUnpin for IncludeEntry
impl UnwindSafe for IncludeEntry
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