pub struct UpdateCollectionParams {
pub collection_name: String,
pub collection_update_schema: CollectionUpdateSchema,
}
Expand description
struct for passing parameters to the method [update_collection
]
Fields§
§collection_name: String
The name of the collection to update
collection_update_schema: CollectionUpdateSchema
The document object with fields to be updated
Trait Implementations§
Source§impl Clone for UpdateCollectionParams
impl Clone for UpdateCollectionParams
Source§fn clone(&self) -> UpdateCollectionParams
fn clone(&self) -> UpdateCollectionParams
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 moreAuto Trait Implementations§
impl Freeze for UpdateCollectionParams
impl RefUnwindSafe for UpdateCollectionParams
impl Send for UpdateCollectionParams
impl Sync for UpdateCollectionParams
impl Unpin for UpdateCollectionParams
impl UnwindSafe for UpdateCollectionParams
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