pub struct PathSpec {
pub positionals: PathPositionals,
pub flags: Vec<String>,
}Expand description
Which arguments are filesystem paths — used by the policy layer for path-aware authorization.
Fields§
§positionals: PathPositionals§flags: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathSpec
impl<'de> Deserialize<'de> for PathSpec
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 PathSpec
impl RefUnwindSafe for PathSpec
impl Send for PathSpec
impl Sync for PathSpec
impl Unpin for PathSpec
impl UnsafeUnpin for PathSpec
impl UnwindSafe for PathSpec
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