pub struct TokenAdminReliance {
pub workspace_id: String,
pub username: String,
pub folders: Vec<String>,
pub folders_total: i32,
pub folders_write: bool,
pub other_users_items: i32,
pub assets: Vec<TokenAdminRelianceAssetsInner>,
pub admin_only: Vec<String>,
}Fields§
§workspace_id: String§username: Stringthe caller’s username in the workspace
folders: Vec<String>folders within the scopes the caller cannot read, or write to when folders_write (first 50)
folders_total: i32§folders_write: boolthe folders are ones the caller cannot write to (the token can change items), rather than ones they cannot read
other_users_items: i32items under other users’ paths not shared with the caller
assets: Vec<TokenAdminRelianceAssetsInner>resources the runnables named by the scopes reference
admin_only: Vec<String>admin-only actions the scopes allow
Implementations§
Trait Implementations§
Source§impl Clone for TokenAdminReliance
impl Clone for TokenAdminReliance
Source§impl Debug for TokenAdminReliance
impl Debug for TokenAdminReliance
Source§impl Default for TokenAdminReliance
impl Default for TokenAdminReliance
Source§impl<'de> Deserialize<'de> for TokenAdminReliance
impl<'de> Deserialize<'de> for TokenAdminReliance
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 TokenAdminReliance
impl PartialEq for TokenAdminReliance
Source§impl Serialize for TokenAdminReliance
impl Serialize for TokenAdminReliance
impl StructuralPartialEq for TokenAdminReliance
Auto Trait Implementations§
impl Forget for TokenAdminReliance
impl Freeze for TokenAdminReliancewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<TokenAdminRelianceAssetsInner>: Freeze,
impl Move for TokenAdminReliance
impl RefUnwindSafe for TokenAdminReliance
impl Send for TokenAdminReliancewhere
RawVecInner: Send,
impl Sync for TokenAdminReliancewhere
RawVecInner: Sync,
impl Unpin for TokenAdminReliance
impl UnsafeUnpin for TokenAdminReliancewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<TokenAdminRelianceAssetsInner>: UnsafeUnpin,
impl UnwindSafe for TokenAdminReliancewhere
RawVecInner: UnwindSafe,
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