pub struct BlockRename {
pub to: String,
pub valid_through: i32,
}Expand description
One entry of the vendored rename table.
Fields§
§to: StringThe id the pinned version holds instead.
valid_through: i32The greatest DataVersion at which the OLD id still existed — a lower
bound on the schema that performs the rename, because the fix landed
somewhere inside the development cycle that follows and the fixer
schedule lives in the game jar. A file at or below this certainly
pre-dates the fix; above it, this table says nothing.
Trait Implementations§
Source§impl Clone for BlockRename
impl Clone for BlockRename
Source§impl Debug for BlockRename
impl Debug for BlockRename
Source§impl<'de> Deserialize<'de> for BlockRename
impl<'de> Deserialize<'de> for BlockRename
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlockRename
impl RefUnwindSafe for BlockRename
impl Send for BlockRename
impl Sync for BlockRename
impl Unpin for BlockRename
impl UnsafeUnpin for BlockRename
impl UnwindSafe for BlockRename
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