pub struct GetResource200Response {Show 24 fields
pub workspace_id: Option<String>,
pub path: String,
pub description: Option<String>,
pub resource_type: String,
pub value: Option<Option<Value>>,
pub is_oauth: bool,
pub extra_perms: Option<HashMap<String, bool>>,
pub is_expired: Option<bool>,
pub refresh_error: Option<String>,
pub is_linked: bool,
pub is_refreshed: bool,
pub account: Option<f64>,
pub created_by: Option<String>,
pub edited_at: Option<String>,
pub labels: Option<Vec<String>>,
pub inherited_labels: Option<Vec<String>>,
pub ws_specific: Option<bool>,
pub draft_only: Option<bool>,
pub is_draft: bool,
pub draft_saved_at: Option<String>,
pub draft_base: Option<String>,
pub no_deployed: Option<bool>,
pub draft: Option<HashMap<String, Value>>,
pub other_drafts_users: Option<Vec<UserDraftOverlayOtherDraftsUsersInner>>,
}Fields§
§workspace_id: Option<String>§path: String§description: Option<String>§resource_type: String§value: Option<Option<Value>>§is_oauth: bool§extra_perms: Option<HashMap<String, bool>>§is_expired: Option<bool>§refresh_error: Option<String>§is_linked: bool§is_refreshed: bool§account: Option<f64>§created_by: Option<String>§edited_at: Option<String>§labels: Option<Vec<String>>§inherited_labels: Option<Vec<String>>Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
ws_specific: Option<bool>§draft_only: Option<bool>True when this row is a per-user draft with no deployed resource at the same path. Frontend renders a "Draft" badge.
is_draft: bool§draft_saved_at: Option<String>§draft_base: Option<String>The deployed version the draft forked from, as text whatever the kind (script hash, flow version id, app version id). Compare to the deployed head to tell a draft that is behind. Absent when there is no draft or it was never forked from a deploy.
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§
Trait Implementations§
Source§impl Clone for GetResource200Response
impl Clone for GetResource200Response
Source§impl Debug for GetResource200Response
impl Debug for GetResource200Response
Source§impl Default for GetResource200Response
impl Default for GetResource200Response
Source§impl<'de> Deserialize<'de> for GetResource200Response
impl<'de> Deserialize<'de> for GetResource200Response
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 GetResource200Response
impl PartialEq for GetResource200Response
Source§impl Serialize for GetResource200Response
impl Serialize for GetResource200Response
impl StructuralPartialEq for GetResource200Response
Auto Trait Implementations§
impl Freeze for GetResource200Response
impl RefUnwindSafe for GetResource200Response
impl Send for GetResource200Response
impl Sync for GetResource200Response
impl Unpin for GetResource200Response
impl UnsafeUnpin for GetResource200Response
impl UnwindSafe for GetResource200Response
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