pub struct PackMeta {
pub pack_id: String,
pub version: String,
pub dependencies: Vec<String>,
pub name: Option<String>,
pub description: Option<String>,
}Expand description
Metadata for a card pack, stored in pack.toml
Fields§
§pack_id: StringUnique identifier for this pack (e.g., “core-set”, “expansion-1”)
version: StringSemantic version of this pack (e.g., “1.0.0”)
dependencies: Vec<String>Optional list of pack dependencies (pack_id strings)
name: Option<String>Optional human-readable name
description: Option<String>Optional description
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PackMeta
impl<'de> Deserialize<'de> for PackMeta
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 PackMeta
impl RefUnwindSafe for PackMeta
impl Send for PackMeta
impl Sync for PackMeta
impl Unpin for PackMeta
impl UnwindSafe for PackMeta
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