Struct deltachat::webxdc::WebxdcManifest
source · #[non_exhaustive]pub struct WebxdcManifest {
pub name: Option<String>,
pub min_api: Option<u32>,
pub source_code_url: Option<String>,
pub request_internet_access: Option<bool>,
}
Expand description
Raw information read from manifest.toml
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
Webxdc name, used on icons or page titles.
min_api: Option<u32>
Minimum API version required to run this webxdc.
source_code_url: Option<String>
Optional URL of webxdc source code.
request_internet_access: Option<bool>
If the webxdc requests network access.
Trait Implementations§
source§impl Debug for WebxdcManifest
impl Debug for WebxdcManifest
source§impl Default for WebxdcManifest
impl Default for WebxdcManifest
source§fn default() -> WebxdcManifest
fn default() -> WebxdcManifest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WebxdcManifest
impl<'de> Deserialize<'de> for WebxdcManifest
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 WebxdcManifest
impl RefUnwindSafe for WebxdcManifest
impl Send for WebxdcManifest
impl Sync for WebxdcManifest
impl Unpin for WebxdcManifest
impl UnwindSafe for WebxdcManifest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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