pub struct GetAppByPath200Response {Show 20 fields
pub id: i32,
pub workspace_id: String,
pub path: String,
pub summary: String,
pub versions: Vec<i32>,
pub created_by: String,
pub created_at: String,
pub value: Option<Value>,
pub policy: Box<Policy>,
pub execution_mode: ExecutionMode,
pub extra_perms: HashMap<String, bool>,
pub custom_path: Option<String>,
pub raw_app: bool,
pub bundle_secret: Option<String>,
pub labels: Option<Vec<String>>,
pub is_draft: bool,
pub draft_saved_at: Option<String>,
pub no_deployed: Option<bool>,
pub draft: Option<HashMap<String, Value>>,
pub other_drafts_users: Option<Vec<UserDraftOverlayOtherDraftsUsersInner>>,
}Fields§
§id: i32§workspace_id: String§path: String§summary: String§versions: Vec<i32>§created_by: String§created_at: String§value: Option<Value>§policy: Box<Policy>§execution_mode: ExecutionMode§extra_perms: HashMap<String, bool>§custom_path: Option<String>§raw_app: bool§bundle_secret: Option<String>§labels: Option<Vec<String>>§is_draft: bool§draft_saved_at: Option<String>§no_deployed: Option<bool>§draft: Option<HashMap<String, Value>>§other_drafts_users: Option<Vec<UserDraftOverlayOtherDraftsUsersInner>>Other workspace users (and the legacy NULL-email row, if any) with a saved draft at the same path. Populated only on the authed user’s "get by path" responses for kinds the editor surfaces a fork banner for (script, flow, app, raw_app). Empty / omitted for kinds without that UI.
Implementations§
Source§impl GetAppByPath200Response
impl GetAppByPath200Response
pub fn new( id: i32, workspace_id: String, path: String, summary: String, versions: Vec<i32>, created_by: String, created_at: String, value: Option<Value>, policy: Policy, execution_mode: ExecutionMode, extra_perms: HashMap<String, bool>, raw_app: bool, is_draft: bool, ) -> GetAppByPath200Response
Trait Implementations§
Source§impl Clone for GetAppByPath200Response
impl Clone for GetAppByPath200Response
Source§fn clone(&self) -> GetAppByPath200Response
fn clone(&self) -> GetAppByPath200Response
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 GetAppByPath200Response
impl Debug for GetAppByPath200Response
Source§impl Default for GetAppByPath200Response
impl Default for GetAppByPath200Response
Source§fn default() -> GetAppByPath200Response
fn default() -> GetAppByPath200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAppByPath200Response
impl<'de> Deserialize<'de> for GetAppByPath200Response
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 GetAppByPath200Response
impl PartialEq for GetAppByPath200Response
Source§fn eq(&self, other: &GetAppByPath200Response) -> bool
fn eq(&self, other: &GetAppByPath200Response) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetAppByPath200Response
impl Serialize for GetAppByPath200Response
impl StructuralPartialEq for GetAppByPath200Response
Auto Trait Implementations§
impl Freeze for GetAppByPath200Response
impl RefUnwindSafe for GetAppByPath200Response
impl Send for GetAppByPath200Response
impl Sync for GetAppByPath200Response
impl Unpin for GetAppByPath200Response
impl UnsafeUnpin for GetAppByPath200Response
impl UnwindSafe for GetAppByPath200Response
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