Struct scylladb_parse::DropRoleStatementBuilder
source · [−]pub struct DropRoleStatementBuilder { /* private fields */ }Expand description
Builder for DropRoleStatement.
Implementations
sourceimpl DropRoleStatementBuilder
impl DropRoleStatementBuilder
pub fn set_if_exists(&mut self, value: bool) -> &mut Self
pub fn name<VALUE: Into<Name>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(&self) -> Result<DropRoleStatement, DropRoleStatementBuilderError>
pub fn build(&self) -> Result<DropRoleStatement, DropRoleStatementBuilderError>
Trait Implementations
sourceimpl Clone for DropRoleStatementBuilder
impl Clone for DropRoleStatementBuilder
sourcefn clone(&self) -> DropRoleStatementBuilder
fn clone(&self) -> DropRoleStatementBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for DropRoleStatementBuilder
impl Send for DropRoleStatementBuilder
impl Sync for DropRoleStatementBuilder
impl Unpin for DropRoleStatementBuilder
impl UnwindSafe for DropRoleStatementBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more