pub struct CreateNamespaceRequest {
pub catalog_name: String,
pub name: String,
pub comment: Option<String>,
pub storage_root: Option<String>,
}Expand description
Namespace 作成リクエスト。
Fields§
§catalog_name: String所属 Catalog 名。
name: StringNamespace 名。
comment: Option<String>コメント。
storage_root: Option<String>ストレージルート。
Implementations§
Source§impl CreateNamespaceRequest
impl CreateNamespaceRequest
Sourcepub fn with_comment(self, comment: impl Into<String>) -> Self
pub fn with_comment(self, comment: impl Into<String>) -> Self
コメントを指定する。
Sourcepub fn with_storage_root(self, storage_root: impl Into<String>) -> Self
pub fn with_storage_root(self, storage_root: impl Into<String>) -> Self
ストレージルートを指定する。
Trait Implementations§
Source§impl Clone for CreateNamespaceRequest
impl Clone for CreateNamespaceRequest
Source§fn clone(&self) -> CreateNamespaceRequest
fn clone(&self) -> CreateNamespaceRequest
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 CreateNamespaceRequest
impl Debug for CreateNamespaceRequest
Source§impl PartialEq for CreateNamespaceRequest
impl PartialEq for CreateNamespaceRequest
impl Eq for CreateNamespaceRequest
impl StructuralPartialEq for CreateNamespaceRequest
Auto Trait Implementations§
impl Freeze for CreateNamespaceRequest
impl RefUnwindSafe for CreateNamespaceRequest
impl Send for CreateNamespaceRequest
impl Sync for CreateNamespaceRequest
impl Unpin for CreateNamespaceRequest
impl UnwindSafe for CreateNamespaceRequest
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.