pub struct CapsuleScope {
pub repos: Vec<String>,
pub targets: Vec<String>,
}Expand description
Scope declared by a Change Capsule.
Fields§
§repos: Vec<String>Repository names in scope.
targets: Vec<String>File or directory targets in scope.
Trait Implementations§
Source§impl Clone for CapsuleScope
impl Clone for CapsuleScope
Source§fn clone(&self) -> CapsuleScope
fn clone(&self) -> CapsuleScope
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 Debug for CapsuleScope
impl Debug for CapsuleScope
impl Eq for CapsuleScope
Source§impl PartialEq for CapsuleScope
impl PartialEq for CapsuleScope
Source§fn eq(&self, other: &CapsuleScope) -> bool
fn eq(&self, other: &CapsuleScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CapsuleScope
Auto Trait Implementations§
impl Freeze for CapsuleScope
impl RefUnwindSafe for CapsuleScope
impl Send for CapsuleScope
impl Sync for CapsuleScope
impl Unpin for CapsuleScope
impl UnsafeUnpin for CapsuleScope
impl UnwindSafe for CapsuleScope
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