pub struct DatatablePermissions {
pub supported: bool,
pub permissioned: bool,
pub default_role: String,
pub roles: Vec<DatatableRoleTenants>,
pub governing_workspace_id: Option<String>,
pub editable: bool,
pub available_roles: Vec<InstanceDatatableRole>,
pub ungoverned_reachers: Option<Vec<EditDataTableConfig200ResponseStrandedReferencesInner>>,
}Fields§
§supported: boolWhether this data table can be put under roles at all. Only one backed by the instance database can: a role is a login on that cluster.
permissioned: bool§default_role: String§roles: Vec<DatatableRoleTenants>§governing_workspace_id: Option<String>§editable: bool§available_roles: Vec<InstanceDatatableRole>§ungoverned_reachers: Option<Vec<EditDataTableConfig200ResponseStrandedReferencesInner>>Implementations§
Source§impl DatatablePermissions
impl DatatablePermissions
pub fn new( supported: bool, permissioned: bool, default_role: String, roles: Vec<DatatableRoleTenants>, editable: bool, available_roles: Vec<InstanceDatatableRole>, ) -> DatatablePermissions
Trait Implementations§
Source§impl Clone for DatatablePermissions
impl Clone for DatatablePermissions
Source§fn clone(&self) -> DatatablePermissions
fn clone(&self) -> DatatablePermissions
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 DatatablePermissions
impl Debug for DatatablePermissions
Source§impl Default for DatatablePermissions
impl Default for DatatablePermissions
Source§fn default() -> DatatablePermissions
fn default() -> DatatablePermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatatablePermissions
impl<'de> Deserialize<'de> for DatatablePermissions
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 DatatablePermissions
impl PartialEq for DatatablePermissions
Source§impl Serialize for DatatablePermissions
impl Serialize for DatatablePermissions
impl StructuralPartialEq for DatatablePermissions
Auto Trait Implementations§
impl Freeze for DatatablePermissions
impl RefUnwindSafe for DatatablePermissions
impl Send for DatatablePermissions
impl Sync for DatatablePermissions
impl Unpin for DatatablePermissions
impl UnsafeUnpin for DatatablePermissions
impl UnwindSafe for DatatablePermissions
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