pub struct AccessGrantOp {
pub operation: String,
pub target: Option<String>,
pub globs: Vec<String>,
pub span: SourceSpan,
}Expand description
One operation clause inside a turn-access grant block — an operation name with its
optional for <target> reference and/or ["glob", …] path patterns (e.g.
recall for issue, read ["docs/**"]).
Fields§
§operation: String§target: Option<String>§globs: Vec<String>§span: SourceSpanTrait Implementations§
Source§impl Clone for AccessGrantOp
impl Clone for AccessGrantOp
Source§fn clone(&self) -> AccessGrantOp
fn clone(&self) -> AccessGrantOp
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 AccessGrantOp
impl Debug for AccessGrantOp
impl Eq for AccessGrantOp
Source§impl PartialEq for AccessGrantOp
impl PartialEq for AccessGrantOp
impl StructuralPartialEq for AccessGrantOp
Auto Trait Implementations§
impl Freeze for AccessGrantOp
impl RefUnwindSafe for AccessGrantOp
impl Send for AccessGrantOp
impl Sync for AccessGrantOp
impl Unpin for AccessGrantOp
impl UnsafeUnpin for AccessGrantOp
impl UnwindSafe for AccessGrantOp
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