pub enum SecretGrant {
Short(Located<String>),
Long(Box<LongGrant>),
}Expand description
A service secret grant with its syntax form retained.
Variants§
Trait Implementations§
Source§impl Clone for SecretGrant
impl Clone for SecretGrant
Source§fn clone(&self) -> SecretGrant
fn clone(&self) -> SecretGrant
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 SecretGrant
impl Debug for SecretGrant
impl Eq for SecretGrant
Source§impl PartialEq for SecretGrant
impl PartialEq for SecretGrant
impl StructuralPartialEq for SecretGrant
Auto Trait Implementations§
impl Freeze for SecretGrant
impl RefUnwindSafe for SecretGrant
impl Send for SecretGrant
impl Sync for SecretGrant
impl Unpin for SecretGrant
impl UnsafeUnpin for SecretGrant
impl UnwindSafe for SecretGrant
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