pub struct AutomationTokenWorkspacesResponse {
pub data: Vec<AutomationTokenWorkspace>,
pub meta: Box<AutomationTokenWorkspacesMeta>,
pub limit_workspaces: bool,
}Fields§
§data: Vec<AutomationTokenWorkspace>Workspaces the token can access. Empty if the token has no workspace-specific permissions or if limit_workspaces is false (unrestricted access).
meta: Box<AutomationTokenWorkspacesMeta>§limit_workspaces: boolIndicates whether workspace access is restricted: - true: Token can only access workspaces listed in data - false: Token has unrestricted access to all workspaces
Implementations§
Source§impl AutomationTokenWorkspacesResponse
impl AutomationTokenWorkspacesResponse
pub fn new( data: Vec<AutomationTokenWorkspace>, meta: AutomationTokenWorkspacesMeta, limit_workspaces: bool, ) -> AutomationTokenWorkspacesResponse
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AutomationTokenWorkspacesResponse
impl<'de> Deserialize<'de> for AutomationTokenWorkspacesResponse
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
impl StructuralPartialEq for AutomationTokenWorkspacesResponse
Auto Trait Implementations§
impl Freeze for AutomationTokenWorkspacesResponse
impl RefUnwindSafe for AutomationTokenWorkspacesResponse
impl Send for AutomationTokenWorkspacesResponse
impl Sync for AutomationTokenWorkspacesResponse
impl Unpin for AutomationTokenWorkspacesResponse
impl UnsafeUnpin for AutomationTokenWorkspacesResponse
impl UnwindSafe for AutomationTokenWorkspacesResponse
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