#[non_exhaustive]pub struct CreateRuleGroupsNamespaceInput {
    pub workspace_id: Option<String>,
    pub name: Option<String>,
    pub data: Option<Blob>,
    pub client_token: Option<String>,
    pub tags: Option<HashMap<String, String>>,
}Expand description
Represents the input of a CreateRuleGroupsNamespace operation.
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 add the rule groups namespace.
name: Option<String>The name for the new rule groups namespace.
data: Option<Blob>The rules file to use in the new namespace.
Contains the base64-encoded version of the YAML rules file.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
client_token: Option<String>A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
The list of tag keys and values to associate with the rule groups namespace.
Implementations§
source§impl CreateRuleGroupsNamespaceInput
 
impl CreateRuleGroupsNamespaceInput
sourcepub fn workspace_id(&self) -> Option<&str>
 
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace to add the rule groups namespace.
sourcepub fn data(&self) -> Option<&Blob>
 
pub fn data(&self) -> Option<&Blob>
The rules file to use in the new namespace.
Contains the base64-encoded version of the YAML rules file.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
sourcepub fn client_token(&self) -> Option<&str>
 
pub fn client_token(&self) -> Option<&str>
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
The list of tag keys and values to associate with the rule groups namespace.
source§impl CreateRuleGroupsNamespaceInput
 
impl CreateRuleGroupsNamespaceInput
sourcepub fn builder() -> CreateRuleGroupsNamespaceInputBuilder
 
pub fn builder() -> CreateRuleGroupsNamespaceInputBuilder
Creates a new builder-style object to manufacture CreateRuleGroupsNamespaceInput.
Trait Implementations§
source§impl Clone for CreateRuleGroupsNamespaceInput
 
impl Clone for CreateRuleGroupsNamespaceInput
source§fn clone(&self) -> CreateRuleGroupsNamespaceInput
 
fn clone(&self) -> CreateRuleGroupsNamespaceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateRuleGroupsNamespaceInput
 
impl PartialEq for CreateRuleGroupsNamespaceInput
source§fn eq(&self, other: &CreateRuleGroupsNamespaceInput) -> bool
 
fn eq(&self, other: &CreateRuleGroupsNamespaceInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateRuleGroupsNamespaceInput
Auto Trait Implementations§
impl Freeze for CreateRuleGroupsNamespaceInput
impl RefUnwindSafe for CreateRuleGroupsNamespaceInput
impl Send for CreateRuleGroupsNamespaceInput
impl Sync for CreateRuleGroupsNamespaceInput
impl Unpin for CreateRuleGroupsNamespaceInput
impl UnwindSafe for CreateRuleGroupsNamespaceInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
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