pub struct Asset {
pub copyright: Option<String>,
pub extensions: Option<Asset>,
pub extras: Extras,
pub generator: Option<String>,
pub min_version: Option<String>,
pub version: String,
}
Expand description
Metadata about the glTF asset.
Fields§
§copyright: Option<String>
A copyright message suitable for display to credit the content creator.
extensions: Option<Asset>
Extension specific data.
extras: Extras
Optional application specific data.
generator: Option<String>
Tool that generated this glTF model.
min_version: Option<String>
The minimum glTF version that this asset targets.
version: String
The glTF version of this asset.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Asset
impl<'de> Deserialize<'de> for Asset
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