pub enum FieldNormalization {
Verbatim,
VfsPath,
RepositoryUrl,
}Expand description
A rewrite the runtime applies to a field’s value before checking it. Call-site
derivation applies the same rewrite to a literal argument, so the filter it
writes into requires names the value the policy is asked about.
Variants§
Verbatim
Checked exactly as the caller passed it.
VfsPath
Absolute guest path with . and .. collapsed, as VFS I/O resolves it.
RepositoryUrl
The serialized form of the parsed HTTPS repository URL: lowercase host,
no default port, / for an empty path, percent-encoded.
Trait Implementations§
Source§impl Clone for FieldNormalization
impl Clone for FieldNormalization
impl Copy for FieldNormalization
Source§impl Debug for FieldNormalization
impl Debug for FieldNormalization
impl Eq for FieldNormalization
Source§impl PartialEq for FieldNormalization
impl PartialEq for FieldNormalization
impl StructuralPartialEq for FieldNormalization
Auto Trait Implementations§
impl Freeze for FieldNormalization
impl RefUnwindSafe for FieldNormalization
impl Send for FieldNormalization
impl Sync for FieldNormalization
impl Unpin for FieldNormalization
impl UnsafeUnpin for FieldNormalization
impl UnwindSafe for FieldNormalization
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.