#[non_exhaustive]pub struct Obligations {
pub scan_nested_repos: bool,
}Expand description
What the caller owes once a permitted call has run.
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.scan_nested_repos: boolImplementations§
Source§impl Obligations
impl Obligations
pub fn scanning_nested_repos(yes: bool) -> Self
Sourcepub fn after(runs: Option<Runs>, profile: ExecProfile) -> Self
pub fn after(runs: Option<Runs>, profile: ExecProfile) -> Self
A command confined any looser than ExecProfile::Strict can leave
behind a repository whose configuration the engine’s own git would
act on.
Trait Implementations§
Source§impl Clone for Obligations
impl Clone for Obligations
impl Copy for Obligations
Source§impl Debug for Obligations
impl Debug for Obligations
Source§impl Default for Obligations
impl Default for Obligations
impl Eq for Obligations
Source§impl PartialEq for Obligations
impl PartialEq for Obligations
impl StructuralPartialEq for Obligations
Auto Trait Implementations§
impl Forget for Obligations
impl Freeze for Obligations
impl Move for Obligations
impl RefUnwindSafe for Obligations
impl Send for Obligations
impl Sync for Obligations
impl Unpin for Obligations
impl UnsafeUnpin for Obligations
impl UnwindSafe for Obligations
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