pub enum SecretScope {
Local,
Project,
Organization,
Environment,
Global,
}Expand description
Secret scope labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SecretScope
impl Clone for SecretScope
Source§fn clone(&self) -> SecretScope
fn clone(&self) -> SecretScope
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 SecretScope
impl Debug for SecretScope
Source§impl Display for SecretScope
impl Display for SecretScope
Source§impl FromStr for SecretScope
impl FromStr for SecretScope
Source§type Err = SecretParseError
type Err = SecretParseError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<SecretScope, <SecretScope as FromStr>::Err>
fn from_str(input: &str) -> Result<SecretScope, <SecretScope as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SecretScope
impl Hash for SecretScope
Source§impl Ord for SecretScope
impl Ord for SecretScope
Source§fn cmp(&self, other: &SecretScope) -> Ordering
fn cmp(&self, other: &SecretScope) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SecretScope
impl PartialEq for SecretScope
Source§fn eq(&self, other: &SecretScope) -> bool
fn eq(&self, other: &SecretScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SecretScope
impl PartialOrd for SecretScope
impl Copy for SecretScope
impl Eq for SecretScope
impl StructuralPartialEq for SecretScope
Auto Trait Implementations§
impl Freeze for SecretScope
impl RefUnwindSafe for SecretScope
impl Send for SecretScope
impl Sync for SecretScope
impl Unpin for SecretScope
impl UnsafeUnpin for SecretScope
impl UnwindSafe for SecretScope
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