pub struct RunnableItem {Show 25 fields
pub type: Type,
pub path: String,
pub summary: Option<String>,
pub workspace_id: Option<String>,
pub extra_perms: Option<HashMap<String, bool>>,
pub starred: Option<bool>,
pub archived: Option<bool>,
pub is_draft: Option<bool>,
pub draft_only: Option<Option<bool>>,
pub draft_path: Option<String>,
pub draft_users: Option<Vec<Value>>,
pub labels: Option<Vec<String>>,
pub inherited_labels: Option<Vec<String>>,
pub ws_error_handler_muted: Option<bool>,
pub edited_at: Option<String>,
pub hash: Option<String>,
pub language: Option<String>,
pub kind: Option<String>,
pub auto_kind: Option<String>,
pub use_codebase: Option<bool>,
pub has_deploy_errors: Option<bool>,
pub raw_app: Option<bool>,
pub execution_mode: Option<String>,
pub id: Option<i64>,
pub version: Option<i64>,
}Expand description
RunnableItem : A row in the merged runnables listing. type is the discriminator; kind-specific fields (hash/language/kind for scripts, execution_mode/ version for apps) are present only for that kind. edited_at is the unified last-updated time (a script’s created_at, a flow/app’s edit time).
Fields§
§type: Type§path: String§summary: Option<String>§workspace_id: Option<String>§extra_perms: Option<HashMap<String, bool>>§starred: Option<bool>§archived: Option<bool>§is_draft: Option<bool>§draft_only: Option<Option<bool>>§draft_path: Option<String>§draft_users: Option<Vec<Value>>§labels: Option<Vec<String>>§inherited_labels: Option<Vec<String>>§ws_error_handler_muted: Option<bool>§edited_at: Option<String>§hash: Option<String>script version hash as a 16-char hex string
language: Option<String>§kind: Option<String>§auto_kind: Option<String>§use_codebase: Option<bool>§has_deploy_errors: Option<bool>§raw_app: Option<bool>§execution_mode: Option<String>§id: Option<i64>§version: Option<i64>Implementations§
Source§impl RunnableItem
impl RunnableItem
Sourcepub fn new(type: Type, path: String) -> RunnableItem
pub fn new(type: Type, path: String) -> RunnableItem
A row in the merged runnables listing. type is the discriminator; kind-specific fields (hash/language/kind for scripts, execution_mode/ version for apps) are present only for that kind. edited_at is the unified last-updated time (a script’s created_at, a flow/app’s edit time).
Trait Implementations§
Source§impl Clone for RunnableItem
impl Clone for RunnableItem
Source§fn clone(&self) -> RunnableItem
fn clone(&self) -> RunnableItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunnableItem
impl Debug for RunnableItem
Source§impl Default for RunnableItem
impl Default for RunnableItem
Source§fn default() -> RunnableItem
fn default() -> RunnableItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunnableItem
impl<'de> Deserialize<'de> for RunnableItem
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 RunnableItem
impl PartialEq for RunnableItem
Source§impl Serialize for RunnableItem
impl Serialize for RunnableItem
impl StructuralPartialEq for RunnableItem
Auto Trait Implementations§
impl Freeze for RunnableItem
impl RefUnwindSafe for RunnableItem
impl Send for RunnableItem
impl Sync for RunnableItem
impl Unpin for RunnableItem
impl UnsafeUnpin for RunnableItem
impl UnwindSafe for RunnableItem
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