#[non_exhaustive]pub struct GetAppResponseDataAttributes {
pub components: Option<Vec<ComponentGrid>>,
pub description: Option<String>,
pub favorite: Option<bool>,
pub name: Option<String>,
pub queries: Option<Vec<Query>>,
pub root_instance_name: Option<String>,
pub tags: Option<Vec<String>>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
The app definition attributes, such as name, description, and components.
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.components: Option<Vec<ComponentGrid>>
The UI components that make up the app.
description: Option<String>
A human-readable description for the app.
favorite: Option<bool>
Whether the app is marked as a favorite by the current user.
name: Option<String>
The name of the app.
queries: Option<Vec<Query>>
An array of queries, such as external actions and state variables, that the app uses.
root_instance_name: Option<String>
The name of the root component of the app. This must be a grid
component that contains all other components.
A list of tags for the app, which can be used to filter apps.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl GetAppResponseDataAttributes
impl GetAppResponseDataAttributes
pub fn new() -> GetAppResponseDataAttributes
pub fn components(self, value: Vec<ComponentGrid>) -> Self
pub fn description(self, value: String) -> Self
pub fn favorite(self, value: bool) -> Self
pub fn name(self, value: String) -> Self
pub fn queries(self, value: Vec<Query>) -> Self
pub fn root_instance_name(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for GetAppResponseDataAttributes
impl Clone for GetAppResponseDataAttributes
Source§fn clone(&self) -> GetAppResponseDataAttributes
fn clone(&self) -> GetAppResponseDataAttributes
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 GetAppResponseDataAttributes
impl Debug for GetAppResponseDataAttributes
Source§impl<'de> Deserialize<'de> for GetAppResponseDataAttributes
impl<'de> Deserialize<'de> for GetAppResponseDataAttributes
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 PartialEq for GetAppResponseDataAttributes
impl PartialEq for GetAppResponseDataAttributes
Source§fn eq(&self, other: &GetAppResponseDataAttributes) -> bool
fn eq(&self, other: &GetAppResponseDataAttributes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetAppResponseDataAttributes
Auto Trait Implementations§
impl Freeze for GetAppResponseDataAttributes
impl RefUnwindSafe for GetAppResponseDataAttributes
impl Send for GetAppResponseDataAttributes
impl Sync for GetAppResponseDataAttributes
impl Unpin for GetAppResponseDataAttributes
impl UnwindSafe for GetAppResponseDataAttributes
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