Struct vk_parse::Extension [−][src]
#[non_exhaustive]pub struct Extension {Show 18 fields
pub name: String,
pub comment: Option<String>,
pub number: Option<i64>,
pub protect: Option<String>,
pub platform: Option<String>,
pub author: Option<String>,
pub contact: Option<String>,
pub ext_type: Option<String>,
pub requires: Option<String>,
pub requires_core: Option<String>,
pub supported: Option<String>,
pub deprecatedby: Option<String>,
pub promotedto: Option<String>,
pub obsoletedby: Option<String>,
pub provisional: bool,
pub specialuse: Option<String>,
pub sortorder: Option<i64>,
pub children: Vec<ExtensionChild>,
}
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: String
Name of the extension.
comment: Option<String>
Human-readable description.
number: Option<i64>
The unique index of this extension.
protect: Option<String>
platform: Option<String>
Which platform it works with, if any.
Tag name of the author.
contact: Option<String>
Contact information for extension author(s).
ext_type: Option<String>
The level at which the extension applies (instance / device).
requires: Option<String>
requires_core: Option<String>
supported: Option<String>
deprecatedby: Option<String>
promotedto: Option<String>
Whether this extension was promoted to core, and in which version.
obsoletedby: Option<String>
provisional: bool
‘true’ if this extension is released provisionally
specialuse: Option<String>
The items which make up this extension.
sortorder: Option<i64>
Relative sortorder
children: Vec<ExtensionChild>
The items which make up this extension.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Extension
impl UnwindSafe for Extension
Blanket Implementations
Mutably borrows from an owned value. Read more