pub struct ListableResource {Show 23 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 scopes: Option<Vec<String>>,
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: Option<bool>,
pub agent_memory: Option<Option<Value>>,
pub draft_path: Option<String>,
pub grant_type: Option<String>,
}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>§scopes: Option<Vec<String>>OAuth scopes the linked account was connected with
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: Option<bool>True when the authed user has a per-user draft at this path (over a deployed row or a synthesized draft-only row). Frontend appends a * to the displayed name.
agent_memory: Option<Option<Value>>For an ai_agent resource only, its memory setting: the one part of the value a listing returns, since it decides whether the agent keeps a conversation.
draft_path: Option<String>On a draft-only row, the path its editor has staged when it differs from the storage path (e.g. a never-deployed item parked at u/{user}/draft_{uuid}).
grant_type: Option<String>The grant of the linked OAuth account: client_credentials connects as the app, authorization_code as the user who connected it.