pub struct WidgetConfig {
pub enabled: bool,
pub app_group: Option<String>,
}Expand description
Widget extension configuration.
Fields§
§enabled: boolGenerate widget platform components.
app_group: Option<String>Shared application-group identifier.
Trait Implementations§
Source§impl Clone for WidgetConfig
impl Clone for WidgetConfig
Source§impl Debug for WidgetConfig
impl Debug for WidgetConfig
Source§impl Default for WidgetConfig
impl Default for WidgetConfig
Source§impl<'de> Deserialize<'de> for WidgetConfigwhere
WidgetConfig: Default,
impl<'de> Deserialize<'de> for WidgetConfigwhere
WidgetConfig: Default,
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
Source§impl JsonSchema for WidgetConfig
impl JsonSchema for WidgetConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WidgetConfig
impl PartialEq for WidgetConfig
Source§impl Serialize for WidgetConfig
impl Serialize for WidgetConfig
impl StructuralPartialEq for WidgetConfig
Auto Trait Implementations§
impl Freeze for WidgetConfig
impl RefUnwindSafe for WidgetConfig
impl Send for WidgetConfig
impl Sync for WidgetConfig
impl Unpin for WidgetConfig
impl UnsafeUnpin for WidgetConfig
impl UnwindSafe for WidgetConfig
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