pub async fn replace_one<T>( query: Document, replacement: impl Borrow<T>, options: impl Into<Option<ReplaceOptions>>, collection_name: &str, db: &Database, ) -> Result<UpdateResult, Error>where for<'a> T: Serialize,