pub struct AgentDatabaseGrants {
pub database_ids: Vec<String>,
pub read: bool,
pub write: bool,
pub delete: bool,
pub create: bool,
pub list: bool,
}Fields§
§database_ids: Vec<String>§read: bool§write: bool§delete: bool§create: bool§list: boolImplementations§
Trait Implementations§
Source§impl Clone for AgentDatabaseGrants
impl Clone for AgentDatabaseGrants
Source§impl Debug for AgentDatabaseGrants
impl Debug for AgentDatabaseGrants
Source§impl Default for AgentDatabaseGrants
impl Default for AgentDatabaseGrants
Source§impl<'de> Deserialize<'de> for AgentDatabaseGrantswhere
AgentDatabaseGrants: Default,
impl<'de> Deserialize<'de> for AgentDatabaseGrantswhere
AgentDatabaseGrants: Default,
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 AgentDatabaseGrants
impl PartialEq for AgentDatabaseGrants
Source§impl Serialize for AgentDatabaseGrants
impl Serialize for AgentDatabaseGrants
impl StructuralPartialEq for AgentDatabaseGrants
Auto Trait Implementations§
impl Forget for AgentDatabaseGrants
impl Freeze for AgentDatabaseGrants
impl Move for AgentDatabaseGrants
impl RefUnwindSafe for AgentDatabaseGrants
impl Send for AgentDatabaseGrants
impl Sync for AgentDatabaseGrants
impl Unpin for AgentDatabaseGrants
impl UnsafeUnpin for AgentDatabaseGrants
impl UnwindSafe for AgentDatabaseGrants
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