pub struct RegisterNamespaceOptions {Show 13 fields
pub namespace: String,
pub description: String,
pub owner_email: String,
pub workflow_execution_retention_period: Duration,
pub clusters: Vec<ClusterReplicationConfig>,
pub active_cluster_name: String,
pub data: HashMap<String, String>,
pub security_token: String,
pub is_global_namespace: bool,
pub history_archival_state: ArchivalState,
pub history_archival_uri: String,
pub visibility_archival_state: ArchivalState,
pub visibility_archival_uri: String,
}Expand description
Helper struct for register_namespace.
Fields§
§namespace: StringName (required)
description: StringDescription (required)
owner_email: StringOwner’s email
workflow_execution_retention_period: DurationWorkflow execution retention period
clusters: Vec<ClusterReplicationConfig>Cluster settings
active_cluster_name: StringActive cluster name
data: HashMap<String, String>Custom Data
security_token: StringSecurity Token
is_global_namespace: boolGlobal namespace
history_archival_state: ArchivalStateHistory Archival setting
history_archival_uri: StringHistory Archival uri
visibility_archival_state: ArchivalStateVisibility Archival setting
visibility_archival_uri: StringVisibility Archival uri
Implementations§
Source§impl RegisterNamespaceOptions
impl RegisterNamespaceOptions
Sourcepub fn builder() -> RegisterNamespaceOptionsBuilder
pub fn builder() -> RegisterNamespaceOptionsBuilder
Create an instance of RegisterNamespaceOptions using the builder syntax
Trait Implementations§
Source§impl Clone for RegisterNamespaceOptions
impl Clone for RegisterNamespaceOptions
Source§fn clone(&self) -> RegisterNamespaceOptions
fn clone(&self) -> RegisterNamespaceOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 RegisterNamespaceOptions
impl Debug for RegisterNamespaceOptions
Source§impl From<RegisterNamespaceOptions> for RegisterNamespaceRequest
impl From<RegisterNamespaceOptions> for RegisterNamespaceRequest
Source§fn from(val: RegisterNamespaceOptions) -> Self
fn from(val: RegisterNamespaceOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegisterNamespaceOptions
impl RefUnwindSafe for RegisterNamespaceOptions
impl Send for RegisterNamespaceOptions
impl Sync for RegisterNamespaceOptions
impl Unpin for RegisterNamespaceOptions
impl UnsafeUnpin for RegisterNamespaceOptions
impl UnwindSafe for RegisterNamespaceOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request