pub struct PathRule {
pub id: String,
pub prefix: String,
pub hat_id: String,
pub verified: bool,
}Expand description
One stored path rule of a host (kernel spec §5.1).
Fields§
§id: String§prefix: StringCanonical: absolute, no . or .., no trailing slash.
hat_id: String§verified: boolThe host resolved the prefix when the rule was saved. An unverified rule is stored as typed, normalised lexically (kernel spec §5.2).
Trait Implementations§
impl Eq for PathRule
impl StructuralPartialEq for PathRule
Auto Trait Implementations§
impl Freeze for PathRule
impl RefUnwindSafe for PathRule
impl Send for PathRule
impl Sync for PathRule
impl Unpin for PathRule
impl UnsafeUnpin for PathRule
impl UnwindSafe for PathRule
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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