#[non_exhaustive]pub struct PackForm {
pub name: Option<String>,
pub kind: Option<String>,
pub update_enabled: Option<bool>,
pub update_duration: Option<i64>,
pub scheduled_update_time: Option<String>,
pub default_dimension: Option<String>,
pub support_dimensions: Vec<String>,
}Expand description
An entry of an extension’s forms: one service widget.
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>name.
kind: Option<String>type: JS or eTS.
update_enabled: Option<bool>updateEnabled: whether the widget refreshes periodically.
update_duration: Option<i64>updateDuration: the refresh period, in units of 30 minutes.
scheduled_update_time: Option<String>scheduledUpdateTime: the time of day of the daily update, 10:30.
default_dimension: Option<String>defaultDimension: the default size, e.g. 2*2.
support_dimensions: Vec<String>supportDimensions: every size offered.
Trait Implementations§
impl Eq for PackForm
impl StructuralPartialEq for PackForm
Auto Trait Implementations§
impl Forget for PackForm
impl Freeze for PackForm
impl Move for PackForm
impl RefUnwindSafe for PackForm
impl Send for PackForm
impl Sync for PackForm
impl Unpin for PackForm
impl UnsafeUnpin for PackForm
impl UnwindSafe for PackForm
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