public StructLikeWrapper set(StructLike newStruct) {
    this.struct = newStruct;
    this.hashCode = null;
    return this;
  }
Creates a copy of this wrapper that wraps a struct.

<p>This is equivalent to {@code new StructLikeWrapper(type).set(newStruct)} but is cheaper
because no analysis of the type is necessary.

@param newStruct a {@link StructLike} row
@return a copy of this wrapper wrapping the give struct
iceberg/patched-iceberg-core/src/main/java/org/apache/iceberg/util/StructLikeWrapper.java