pub struct AppDescriptor {Show 17 fields
pub id: String,
pub name: Option<String>,
pub generic_name: Option<String>,
pub summary: String,
pub description: String,
pub categories: Vec<String>,
pub metadata_license: String,
pub screenshots: Option<Vec<Screenshot>>,
pub releases: Option<Vec<Release>>,
pub content_rating: Option<Vec<ContentRating>>,
pub requires: Vec<Recommend>,
pub recommends: Vec<Recommend>,
pub permissions: Vec<String>,
pub mimetype: Option<String>,
pub flatpak_runtime_version: Option<String>,
pub flatpak_modules: Option<Vec<String>>,
pub resources: Option<String>,
}Fields§
§id: String§name: Option<String>§generic_name: Option<String>§summary: String§description: String§categories: Vec<String>§metadata_license: String§screenshots: Option<Vec<Screenshot>>§releases: Option<Vec<Release>>§content_rating: Option<Vec<ContentRating>>§requires: Vec<Recommend>§recommends: Vec<Recommend>§permissions: Vec<String>§mimetype: Option<String>§flatpak_runtime_version: Option<String>§flatpak_modules: Option<Vec<String>>§resources: Option<String>Trait Implementations§
Source§impl Clone for AppDescriptor
impl Clone for AppDescriptor
Source§fn clone(&self) -> AppDescriptor
fn clone(&self) -> AppDescriptor
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 AppDescriptor
impl Debug for AppDescriptor
Source§impl<'de> Deserialize<'de> for AppDescriptor
impl<'de> Deserialize<'de> for AppDescriptor
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 AppDescriptor
impl RefUnwindSafe for AppDescriptor
impl Send for AppDescriptor
impl Sync for AppDescriptor
impl Unpin for AppDescriptor
impl UnwindSafe for AppDescriptor
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