pub enum CreateDatabaseUser {
AwsUserOrRole {
arn: String,
group_id: String,
},
InternalUser {
username: String,
group_id: String,
database_name: String,
},
}
Variants§
Trait Implementations§
Source§impl Endpoint for CreateDatabaseUser
impl Endpoint for CreateDatabaseUser
type Data = DatabaseUser
type Error = Error
fn method() -> Method
fn path(&self) -> Cow<'static, str>
fn get_data<'async_trait>(
res: Response,
) -> Pin<Box<dyn Future<Output = Result<Self::Data, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
fn body(&self) -> Result<Option<Vec<u8>>, Self::Error>
Auto Trait Implementations§
impl Freeze for CreateDatabaseUser
impl RefUnwindSafe for CreateDatabaseUser
impl Send for CreateDatabaseUser
impl Sync for CreateDatabaseUser
impl Unpin for CreateDatabaseUser
impl UnwindSafe for CreateDatabaseUser
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