pub struct ConfigureNamespaceResponse {
pub namespace: String,
pub dimension: usize,
pub distance: DistanceMetric,
pub created: bool,
}Expand description
Response from PUT /v1/namespaces/:namespace.
Fields§
§namespace: StringNamespace name.
dimension: usizeVector dimension.
distance: DistanceMetricDistance metric in use.
created: booltrue if the namespace was newly created; false if it already existed.
Trait Implementations§
Source§impl Clone for ConfigureNamespaceResponse
impl Clone for ConfigureNamespaceResponse
Source§fn clone(&self) -> ConfigureNamespaceResponse
fn clone(&self) -> ConfigureNamespaceResponse
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 ConfigureNamespaceResponse
impl Debug for ConfigureNamespaceResponse
Source§impl<'de> Deserialize<'de> for ConfigureNamespaceResponse
impl<'de> Deserialize<'de> for ConfigureNamespaceResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConfigureNamespaceResponse
impl RefUnwindSafe for ConfigureNamespaceResponse
impl Send for ConfigureNamespaceResponse
impl Sync for ConfigureNamespaceResponse
impl Unpin for ConfigureNamespaceResponse
impl UnsafeUnpin for ConfigureNamespaceResponse
impl UnwindSafe for ConfigureNamespaceResponse
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