Enum aws_sdk_grafana::types::IdpMetadata
source · #[non_exhaustive]pub enum IdpMetadata {
Url(String),
Xml(String),
Unknown,
}
Expand description
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace. You can specify the metadata either by providing a URL to its location in the url
parameter, or by specifying the full metadata in XML format in the xml
parameter. Specifying both will cause an error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Url(String)
The URL of the location containing the IdP metadata.
Xml(String)
The full IdP metadata, in XML format.
Unknown
The Unknown
variant represents cases where new union variant was received. Consider upgrading the SDK to the latest available version.
An unknown enum variant
Note: If you encounter this error, consider upgrading your SDK to the latest version.
The Unknown
variant represents cases where the server sent a value that wasn’t recognized
by the client. This can happen when the server adds new functionality, but the client has not been updated.
To investigate this, consider turning on debug logging to print the raw HTTP response.
Implementations§
Trait Implementations§
source§impl Clone for IdpMetadata
impl Clone for IdpMetadata
source§fn clone(&self) -> IdpMetadata
fn clone(&self) -> IdpMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdpMetadata
impl Debug for IdpMetadata
source§impl PartialEq for IdpMetadata
impl PartialEq for IdpMetadata
impl StructuralPartialEq for IdpMetadata
Auto Trait Implementations§
impl Freeze for IdpMetadata
impl RefUnwindSafe for IdpMetadata
impl Send for IdpMetadata
impl Sync for IdpMetadata
impl Unpin for IdpMetadata
impl UnwindSafe for IdpMetadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more