Struct playdate_build::metadata::format::PlayDateMetadata
source · pub struct PlayDateMetadata<T> {Show 14 fields
pub name: Option<String>,
pub version: Option<String>,
pub author: Option<String>,
pub bundle_id: String,
pub description: Option<String>,
pub image_path: Option<String>,
pub launch_sound_path: Option<String>,
pub content_warning: Option<String>,
pub content_warning2: Option<String>,
pub build_number: Option<String>,
pub assets: PlayDateMetadataAssets<T>,
pub dev_assets: Option<PlayDateMetadataAssets<T>>,
pub options: Options,
pub support: Support,
}Fields§
§name: Option<String>§version: Option<String>§bundle_id: String§description: Option<String>§image_path: Option<String>§launch_sound_path: Option<String>§content_warning: Option<String>§content_warning2: Option<String>§build_number: Option<String>§assets: PlayDateMetadataAssets<T>§dev_assets: Option<PlayDateMetadataAssets<T>>§options: Options§support: SupportImplementations§
source§impl<T: Value> PlayDateMetadata<T>
impl<T: Value> PlayDateMetadata<T>
pub fn merge_opts(&mut self) -> Result<(), Error>
source§impl<T: Value> PlayDateMetadata<T>
impl<T: Value> PlayDateMetadata<T>
pub fn assets_options(&self) -> Cow<'_, AssetsOptions>
Trait Implementations§
source§impl<T: Clone> Clone for PlayDateMetadata<T>
impl<T: Clone> Clone for PlayDateMetadata<T>
source§fn clone(&self) -> PlayDateMetadata<T>
fn clone(&self) -> PlayDateMetadata<T>
Returns a copy 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<T: Debug> Debug for PlayDateMetadata<T>
impl<T: Debug> Debug for PlayDateMetadata<T>
source§impl<'de, T> Deserialize<'de> for PlayDateMetadata<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for PlayDateMetadata<T>where
T: Deserialize<'de>,
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<T> RefUnwindSafe for PlayDateMetadata<T>where
T: RefUnwindSafe,
impl<T> Send for PlayDateMetadata<T>where
T: Send,
impl<T> Sync for PlayDateMetadata<T>where
T: Sync,
impl<T> Unpin for PlayDateMetadata<T>where
T: Unpin,
impl<T> UnwindSafe for PlayDateMetadata<T>where
T: UnwindSafe,
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