pub struct NewCollectionResponse {
pub id: String,
pub description: Option<String>,
pub write_api_key: String,
pub readonly_api_key: String,
}Expand description
Response from creating a new collection
Fields§
§id: String§description: Option<String>§write_api_key: String§readonly_api_key: StringTrait Implementations§
Source§impl Clone for NewCollectionResponse
impl Clone for NewCollectionResponse
Source§fn clone(&self) -> NewCollectionResponse
fn clone(&self) -> NewCollectionResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NewCollectionResponse
impl Debug for NewCollectionResponse
Source§impl<'de> Deserialize<'de> for NewCollectionResponse
impl<'de> Deserialize<'de> for NewCollectionResponse
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 NewCollectionResponse
impl RefUnwindSafe for NewCollectionResponse
impl Send for NewCollectionResponse
impl Sync for NewCollectionResponse
impl Unpin for NewCollectionResponse
impl UnsafeUnpin for NewCollectionResponse
impl UnwindSafe for NewCollectionResponse
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