pub struct ValidationContext<'a> {
pub owner_repository: &'a str,
pub declaring_repository: &'a str,
pub bootstrap_packages: &'a [&'a str],
pub product_closure_roles: &'a [PackageRole],
}Expand description
Context discovered from repository and package structure, not trusted input.
Fields§
§owner_repository: &'a str§declaring_repository: &'a str§bootstrap_packages: &'a [&'a str]§product_closure_roles: &'a [PackageRole]Trait Implementations§
Source§impl<'a> Clone for ValidationContext<'a>
impl<'a> Clone for ValidationContext<'a>
Source§fn clone(&self) -> ValidationContext<'a>
fn clone(&self) -> ValidationContext<'a>
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<'a> Debug for ValidationContext<'a>
impl<'a> Debug for ValidationContext<'a>
impl<'a> Eq for ValidationContext<'a>
Source§impl<'a> PartialEq for ValidationContext<'a>
impl<'a> PartialEq for ValidationContext<'a>
impl<'a> StructuralPartialEq for ValidationContext<'a>
Auto Trait Implementations§
impl<'a> Forget for ValidationContext<'a>
impl<'a> Freeze for ValidationContext<'a>
impl<'a> Move for ValidationContext<'a>
impl<'a> RefUnwindSafe for ValidationContext<'a>
impl<'a> Send for ValidationContext<'a>
impl<'a> Sync for ValidationContext<'a>
impl<'a> Unpin for ValidationContext<'a>
impl<'a> UnsafeUnpin for ValidationContext<'a>
impl<'a> UnwindSafe for ValidationContext<'a>
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.