pub struct Grant {
pub permission: GrantType,
pub to: String,
pub on: ObjectPath,
}Expand description
GRANT generator
Fields§
§permission: GrantType§to: String§on: ObjectPathImplementations§
Trait Implementations§
Source§impl DBObject for Grant
impl DBObject for Grant
fn to_sql(&self, type_writer: &dyn TypeWriter) -> String
fn is_top_level(&self) -> bool
fn top_level_to_sql( &self, type_writer: &dyn TypeWriter, _delayed: &Vec<&Box<&dyn DBObject>>, ) -> String
Source§impl<'de> Deserialize<'de> for Grant
impl<'de> Deserialize<'de> for Grant
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
Auto Trait Implementations§
impl Freeze for Grant
impl RefUnwindSafe for Grant
impl Send for Grant
impl Sync for Grant
impl Unpin for Grant
impl UnwindSafe for Grant
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