pub struct ListableApp {Show 15 fields
pub id: i32,
pub workspace_id: String,
pub path: String,
pub summary: String,
pub version: i32,
pub extra_perms: HashMap<String, bool>,
pub starred: Option<bool>,
pub edited_at: String,
pub execution_mode: ExecutionMode,
pub raw_app: Option<bool>,
pub labels: Option<Vec<String>>,
pub is_draft: Option<bool>,
pub draft_path: Option<String>,
pub draft_users: Option<Vec<ListScripts200ResponseInnerAllOfDraftUsersInner>>,
pub inherited_labels: Option<Vec<String>>,
}Fields§
§id: i32§workspace_id: String§path: String§summary: String§version: i32§extra_perms: HashMap<String, bool>§starred: Option<bool>§edited_at: String§execution_mode: ExecutionMode§raw_app: Option<bool>§labels: Option<Vec<String>>§is_draft: Option<bool>True when the authed user has a draft for this app — either no deployed row exists at this path (draft-only) or the user has saved a per-user draft on top of the deployed row.
draft_path: Option<String>User-typed path the editor has staged but not yet deployed. Sourced from the draft JSON’s draft_path field (the editor only writes it when the typed path differs from the deployed one). Lets the home list render the meaningful name instead of the autogenerated u/{user}/draft_{uuid} URL path. Omitted when unchanged.
draft_users: Option<Vec<ListScripts200ResponseInnerAllOfDraftUsersInner>>Workspace users (including the authed user, and the legacy NULL-email row if any) who have a per-user draft at this path. Drives the home page’s user-avatar circles inside the Draft badge. Omitted when no drafts exist.
inherited_labels: Option<Vec<String>>Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
Implementations§
Trait Implementations§
Source§impl Clone for ListableApp
impl Clone for ListableApp
Source§fn clone(&self) -> ListableApp
fn clone(&self) -> ListableApp
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListableApp
impl Debug for ListableApp
Source§impl Default for ListableApp
impl Default for ListableApp
Source§fn default() -> ListableApp
fn default() -> ListableApp
Source§impl<'de> Deserialize<'de> for ListableApp
impl<'de> Deserialize<'de> for ListableApp
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>,
Source§impl PartialEq for ListableApp
impl PartialEq for ListableApp
Source§fn eq(&self, other: &ListableApp) -> bool
fn eq(&self, other: &ListableApp) -> bool
self and other values to be equal, and is used by ==.