pub struct AssetPackMeta {
pub version: String,
pub author: String,
pub license: String,
pub description: String,
pub created_at: u64,
}Expand description
Metadata attached to the top-level pack manifest.
Fields§
§version: StringPack format version string.
Author or organisation name.
license: StringSPDX license identifier.
description: StringFree-form description of the pack contents.
created_at: u64Creation timestamp (Unix seconds). 0 if not set.
Trait Implementations§
Source§impl Clone for AssetPackMeta
impl Clone for AssetPackMeta
Source§fn clone(&self) -> AssetPackMeta
fn clone(&self) -> AssetPackMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssetPackMeta
impl Debug for AssetPackMeta
Source§impl Default for AssetPackMeta
impl Default for AssetPackMeta
Source§impl<'de> Deserialize<'de> for AssetPackMeta
impl<'de> Deserialize<'de> for AssetPackMeta
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 AssetPackMeta
impl RefUnwindSafe for AssetPackMeta
impl Send for AssetPackMeta
impl Sync for AssetPackMeta
impl Unpin for AssetPackMeta
impl UnsafeUnpin for AssetPackMeta
impl UnwindSafe for AssetPackMeta
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