/// Updates a document in `collection`.
Updates a document in `collection`.
Updates a document in ` collection ` .
pub const fn update(collection: CollectionName, header: Header, contents: Vec<u8>) -> Self {
        Self {
            collection,
            command: Command::Update { header, contents },
        }
    }
pub const fn update ( collection : CollectionName , header : Header , contents : Vec < u8 > ) -> Self { Self { collection , command : Command :: Update { header , contents } , } }
Updates a document in `collection`.
Updates a document in ` collection ` .
collection
CollectionName
header
Header
contents
Vec<u8>