pub struct Namespace {Show 15 fields
pub namespace: String,
pub resource_version: String,
pub spec: Option<NamespaceSpec>,
pub state_deprecated: String,
pub state: i32,
pub async_operation_id: String,
pub endpoints: Option<Endpoints>,
pub active_region: String,
pub limits: Option<Limits>,
pub private_connectivities: Vec<PrivateConnectivity>,
pub created_time: Option<Timestamp>,
pub last_modified_time: Option<Timestamp>,
pub region_status: HashMap<String, NamespaceRegionStatus>,
pub connectivity_rules: Vec<ConnectivityRule>,
pub tags: HashMap<String, String>,
}Fields§
§namespace: StringThe namespace identifier.
resource_version: StringThe current version of the namespace specification. The next update operation will have to include this version.
spec: Option<NamespaceSpec>The namespace specification.
state_deprecated: StringThe current state of the namespace. Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
state: i32The current state of the namespace. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
async_operation_id: StringThe id of the async operation that is creating/updating/deleting the namespace, if any.
endpoints: Option<Endpoints>The endpoints for the namespace.
active_region: StringThe currently active region for the namespace.
limits: Option<Limits>The limits set on the namespace currently.
private_connectivities: Vec<PrivateConnectivity>The private connectivities for the namespace, if any.
created_time: Option<Timestamp>The date and time when the namespace was created.
last_modified_time: Option<Timestamp>The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
region_status: HashMap<String, NamespaceRegionStatus>The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
connectivity_rules: Vec<ConnectivityRule>The connectivity rules that are set on this namespace.
The tags for the namespace.
Implementations§
Source§impl Namespace
impl Namespace
Sourcepub fn state(&self) -> ResourceState
pub fn state(&self) -> ResourceState
Returns the enum value of state, or the default if the field is set to an invalid enum value.
Sourcepub fn set_state(&mut self, value: ResourceState)
pub fn set_state(&mut self, value: ResourceState)
Sets state to the provided enum value.
Trait Implementations§
Source§impl Message for Namespace
impl Message for Namespace
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for Namespace
impl Name for Namespace
Source§const NAME: &'static str = "Namespace"
const NAME: &'static str = "Namespace"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "temporal.api.cloud.namespace.v1"
const PACKAGE: &'static str = "temporal.api.cloud.namespace.v1"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.impl StructuralPartialEq for Namespace
Auto Trait Implementations§
impl Freeze for Namespace
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnsafeUnpin for Namespace
impl UnwindSafe for Namespace
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§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>
T in a tonic::Request