pub struct PackInfo {
pub stamp: String,
pub target: Option<String>,
pub content: ContentHash,
}Expand description
What a pack says of itself.
Fields§
§stamp: StringThe game’s word for the shapes of its own kinds, the ones a
VERSION doesn’t cover (its version, say). A game opens only a
pack baked with its own stamp.
target: Option<String>The target the pack was baked for (shuyi bake --target), if any.
content: ContentHashThe fingerprint of the bundle it was baked from
(Bundle::fingerprint),
which its layer stands for.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PackInfo
impl<'de> Deserialize<'de> for PackInfo
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
impl Eq for PackInfo
impl StructuralPartialEq for PackInfo
Auto Trait Implementations§
impl Freeze for PackInfo
impl RefUnwindSafe for PackInfo
impl Send for PackInfo
impl Sync for PackInfo
impl Unpin for PackInfo
impl UnsafeUnpin for PackInfo
impl UnwindSafe for PackInfo
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