pub struct CreateNewCollectionParams {
pub collection_deploy_request_dto: CollectionDeployRequestDto,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [create_new_collection
]
Fields§
§collection_deploy_request_dto: CollectionDeployRequestDto
§idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Implementations§
Source§impl CreateNewCollectionParams
impl CreateNewCollectionParams
Sourcepub fn builder() -> CreateNewCollectionParamsBuilder
pub fn builder() -> CreateNewCollectionParamsBuilder
Create an instance of CreateNewCollectionParams
using the builder syntax
Trait Implementations§
Source§impl Clone for CreateNewCollectionParams
impl Clone for CreateNewCollectionParams
Source§fn clone(&self) -> CreateNewCollectionParams
fn clone(&self) -> CreateNewCollectionParams
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for CreateNewCollectionParams
impl RefUnwindSafe for CreateNewCollectionParams
impl Send for CreateNewCollectionParams
impl Sync for CreateNewCollectionParams
impl Unpin for CreateNewCollectionParams
impl UnwindSafe for CreateNewCollectionParams
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