pub struct CreateUserMapping {
pub if_not_exists: bool,
pub user: UserMappingUser,
pub server_name: Ident,
pub options: Option<Vec<CreateServerOption>>,
}Expand description
A CREATE USER MAPPING statement.
See PostgreSQL
Fields§
§if_not_exists: boolWhether IF NOT EXISTS was specified.
user: UserMappingUserThe user the mapping is for.
server_name: IdentThe SERVER server_name clause.
options: Option<Vec<CreateServerOption>>Optional OPTIONS (key 'value', ...) clause.
Trait Implementations§
Source§impl Clone for CreateUserMapping
impl Clone for CreateUserMapping
Source§fn clone(&self) -> CreateUserMapping
fn clone(&self) -> CreateUserMapping
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 CreateUserMapping
impl Debug for CreateUserMapping
Source§impl Display for CreateUserMapping
impl Display for CreateUserMapping
impl Eq for CreateUserMapping
Source§impl From<CreateUserMapping> for Statement
impl From<CreateUserMapping> for Statement
Source§fn from(v: CreateUserMapping) -> Self
fn from(v: CreateUserMapping) -> Self
Converts to this type from the input type.
Source§impl Hash for CreateUserMapping
impl Hash for CreateUserMapping
Source§impl Ord for CreateUserMapping
impl Ord for CreateUserMapping
Source§fn cmp(&self, other: &CreateUserMapping) -> Ordering
fn cmp(&self, other: &CreateUserMapping) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CreateUserMapping
impl PartialEq for CreateUserMapping
Source§impl PartialOrd for CreateUserMapping
impl PartialOrd for CreateUserMapping
Source§impl Spanned for CreateUserMapping
impl Spanned for CreateUserMapping
impl StructuralPartialEq for CreateUserMapping
Auto Trait Implementations§
impl Freeze for CreateUserMapping
impl RefUnwindSafe for CreateUserMapping
impl Send for CreateUserMapping
impl Sync for CreateUserMapping
impl Unpin for CreateUserMapping
impl UnsafeUnpin for CreateUserMapping
impl UnwindSafe for CreateUserMapping
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