#[non_exhaustive]pub struct Approval {
pub basis: Basis,
pub profile: ExecProfile,
pub landing: Option<PathBuf>,
}Expand description
What the call being run was let through on: ToolContext::approval.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.basis: Basis§profile: ExecProfile§landing: Option<PathBuf>Where the call’s write was judged to land
(PermissionFacts::lands_at).
Implementations§
Trait Implementations§
impl Eq for Approval
impl StructuralPartialEq for Approval
Auto Trait Implementations§
impl Forget for Approval
impl Freeze for Approval
impl Move for Approval
impl RefUnwindSafe for Approval
impl Send for Approval
impl Sync for Approval
impl Unpin for Approval
impl UnsafeUnpin for Approval
impl UnwindSafe for Approval
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