pub enum SourceCredentials {
Caller,
Anonymous,
}Expand description
SourceCredentials
JSON schema
{
"type": "string",
"enum": [
"caller",
"anonymous"
]
}Variants§
Trait Implementations§
Source§impl Clone for SourceCredentials
impl Clone for SourceCredentials
impl Copy for SourceCredentials
Source§impl Debug for SourceCredentials
impl Debug for SourceCredentials
Source§impl<'de> Deserialize<'de> for SourceCredentials
impl<'de> Deserialize<'de> for SourceCredentials
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SourceCredentials
impl Display for SourceCredentials
impl Eq for SourceCredentials
Source§impl From<&SourceCredentials> for SourceCredentials
impl From<&SourceCredentials> for SourceCredentials
Source§fn from(value: &SourceCredentials) -> Self
fn from(value: &SourceCredentials) -> Self
Converts to this type from the input type.
Source§impl FromStr for SourceCredentials
impl FromStr for SourceCredentials
Source§impl Hash for SourceCredentials
impl Hash for SourceCredentials
Source§impl Ord for SourceCredentials
impl Ord for SourceCredentials
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SourceCredentials
impl PartialEq for SourceCredentials
Source§impl PartialOrd for SourceCredentials
impl PartialOrd for SourceCredentials
Source§impl Serialize for SourceCredentials
impl Serialize for SourceCredentials
impl StructuralPartialEq for SourceCredentials
Source§impl TryFrom<&String> for SourceCredentials
impl TryFrom<&String> for SourceCredentials
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for SourceCredentials
impl TryFrom<&str> for SourceCredentials
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for SourceCredentials
impl TryFrom<String> for SourceCredentials
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for SourceCredentials
impl Freeze for SourceCredentials
impl Move for SourceCredentials
impl RefUnwindSafe for SourceCredentials
impl Send for SourceCredentials
impl Sync for SourceCredentials
impl Unpin for SourceCredentials
impl UnsafeUnpin for SourceCredentials
impl UnwindSafe for SourceCredentials
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