pub struct LongGrant { /* private fields */ }Expand description
Long syntax shared by service config and secret grants.
Implementations§
Source§impl LongGrant
impl LongGrant
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete mapping span.
Sourcepub const fn mode(&self) -> Option<&Located<String>>
pub const fn mode(&self) -> Option<&Located<String>>
Returns the requested permission-mode spelling.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained x- fields.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns unrecognized fields.
Trait Implementations§
impl Eq for LongGrant
impl StructuralPartialEq for LongGrant
Auto Trait Implementations§
impl Freeze for LongGrant
impl RefUnwindSafe for LongGrant
impl Send for LongGrant
impl Sync for LongGrant
impl Unpin for LongGrant
impl UnsafeUnpin for LongGrant
impl UnwindSafe for LongGrant
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