Skip to main content

WorldMeta

Struct WorldMeta 

Source
pub struct WorldMeta {
    pub name: String,
    pub description: Option<String>,
    pub time_of_day: Option<f32>,
    pub tags: Option<Vec<String>>,
    pub source: Option<String>,
    pub variation_group: Option<String>,
    pub variation: Option<(String, String)>,
    pub style_ref: Option<String>,
    pub compliance: Option<ComplianceMeta>,
    pub ext_provenance: Option<ExtProvenance>,
}
Expand description

World metadata.

The LLM lineage fields (prompt, model, generation_duration_ms, biome, semantic_category) moved to the ext-provenance extension — the core schema is governed independently of any single producer (spec/extensions/provenance.md).

Fields§

§name: String

World name (used as skill name / directory name).

§description: Option<String>

Human-readable description.

§time_of_day: Option<f32>

Time of day (0.0-24.0, for lighting presets).

§tags: Option<Vec<String>>

Free-form style tags for gallery filtering.

§source: Option<String>

Generation source: “interactive”, “headless”, “experiment”, “mcp”.

§variation_group: Option<String>

If part of a variation experiment, the group ID.

§variation: Option<(String, String)>

Variation axis and value (e.g., (“lighting”, “sunset”)).

§style_ref: Option<String>

Style name from memory (if applied).

§compliance: Option<ComplianceMeta>

Compliance metadata for distribution and regulatory classification.

§ext_provenance: Option<ExtProvenance>

LLM lineage, under the ext-provenance extension’s namespace — the one extension the core types carry, because generation tools were already writing these fields and must not silently lose them in the move. In the generated core schema the block is free-form (true): an extension’s shape belongs to its registry entry, not the core.

Trait Implementations§

Source§

impl Clone for WorldMeta

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WorldMeta

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WorldMeta

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for WorldMeta

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for WorldMeta

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for WorldMeta

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.