#[non_exhaustive]pub struct AssociateLicenseInput {
pub workspace_id: Option<String>,
pub license_type: Option<LicenseType>,
pub grafana_token: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workspace_id: Option<String>The ID of the workspace to associate the license with.
license_type: Option<LicenseType>The type of license to associate with the workspace.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
grafana_token: Option<String>A token from Grafana Labs that ties your Amazon Web Services account with a Grafana Labs account. For more information, see Register with Grafana Labs.
Implementations§
source§impl AssociateLicenseInput
impl AssociateLicenseInput
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace to associate the license with.
sourcepub fn license_type(&self) -> Option<&LicenseType>
pub fn license_type(&self) -> Option<&LicenseType>
The type of license to associate with the workspace.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
sourcepub fn grafana_token(&self) -> Option<&str>
pub fn grafana_token(&self) -> Option<&str>
A token from Grafana Labs that ties your Amazon Web Services account with a Grafana Labs account. For more information, see Register with Grafana Labs.
source§impl AssociateLicenseInput
impl AssociateLicenseInput
sourcepub fn builder() -> AssociateLicenseInputBuilder
pub fn builder() -> AssociateLicenseInputBuilder
Creates a new builder-style object to manufacture AssociateLicenseInput.
Trait Implementations§
source§impl Clone for AssociateLicenseInput
impl Clone for AssociateLicenseInput
source§fn clone(&self) -> AssociateLicenseInput
fn clone(&self) -> AssociateLicenseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssociateLicenseInput
impl Debug for AssociateLicenseInput
source§impl PartialEq for AssociateLicenseInput
impl PartialEq for AssociateLicenseInput
source§fn eq(&self, other: &AssociateLicenseInput) -> bool
fn eq(&self, other: &AssociateLicenseInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateLicenseInput
Auto Trait Implementations§
impl Freeze for AssociateLicenseInput
impl RefUnwindSafe for AssociateLicenseInput
impl Send for AssociateLicenseInput
impl Sync for AssociateLicenseInput
impl Unpin for AssociateLicenseInput
impl UnwindSafe for AssociateLicenseInput
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> 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